Add drone test for php 7.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
20
.drone.yml
20
.drone.yml
@@ -132,6 +132,25 @@ pipeline:
|
|||||||
when:
|
when:
|
||||||
matrix:
|
matrix:
|
||||||
TESTS: php7.1
|
TESTS: php7.1
|
||||||
|
php7.2:
|
||||||
|
image: nextcloudci/php7.2:php7.2-9
|
||||||
|
environment:
|
||||||
|
- APP_NAME=deck
|
||||||
|
- CORE_BRANCH=master
|
||||||
|
- DB=sqlite
|
||||||
|
commands:
|
||||||
|
# Pre-setup steps
|
||||||
|
- yum -y install wget
|
||||||
|
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
|
||||||
|
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
|
||||||
|
- cd ../server/
|
||||||
|
- php occ app:enable deck
|
||||||
|
- cd apps/$APP_NAME
|
||||||
|
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
|
||||||
|
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
||||||
|
when:
|
||||||
|
matrix:
|
||||||
|
TESTS: php7.2
|
||||||
integration:
|
integration:
|
||||||
image: nextcloudci/integration-php7.0:integration-php7.0-3
|
image: nextcloudci/integration-php7.0:integration-php7.0-3
|
||||||
environment:
|
environment:
|
||||||
@@ -176,6 +195,7 @@ matrix:
|
|||||||
- TESTS: php5.6
|
- TESTS: php5.6
|
||||||
- TESTS: php7.0
|
- TESTS: php7.0
|
||||||
- TESTS: php7.1
|
- TESTS: php7.1
|
||||||
|
- TESTS: php7.2
|
||||||
- TESTS: eslint
|
- TESTS: eslint
|
||||||
- TESTS: jsbuild
|
- TESTS: jsbuild
|
||||||
- TESTS: integration
|
- TESTS: integration
|
||||||
|
|||||||
Reference in New Issue
Block a user