Merge pull request #24 from nextcloud/update-master-php-testing-versions

Update master php testing versions
This commit is contained in:
Morris Jobke 2019-01-07 17:08:30 +01:00 committed by GitHub
commit 3ec45ec228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 28 deletions

View File

@ -5,7 +5,7 @@ clone:
pipeline: pipeline:
signed-off-check: signed-off-check:
image: nextcloudci/php7.0:php7.0-2 image: nextcloudci/php7.1:php7.1-16
environment: environment:
- APP_NAME=data_request - APP_NAME=data_request
- CORE_BRANCH=master - CORE_BRANCH=master
@ -20,7 +20,7 @@ pipeline:
matrix: matrix:
TESTS: signed-off-check TESTS: signed-off-check
check-app-compatbility: check-app-compatbility:
image: nextcloudci/php7.0:php7.0-2 image: nextcloudci/php7.1:php7.1-16
environment: environment:
- APP_NAME=data_request - APP_NAME=data_request
- CORE_BRANCH=master - CORE_BRANCH=master
@ -37,8 +37,8 @@ pipeline:
when: when:
matrix: matrix:
TESTS: check-app-compatbility TESTS: check-app-compatbility
syntax-php7.0: syntax-php7.1:
image: nextcloudci/php7.0:php7.0-2 image: nextcloudci/php7.1:php7.1-16
environment: environment:
- APP_NAME=data_request - APP_NAME=data_request
- CORE_BRANCH=master - CORE_BRANCH=master
@ -52,29 +52,9 @@ pipeline:
- ./lib/composer/bin/parallel-lint apps/$APP_NAME/ - ./lib/composer/bin/parallel-lint apps/$APP_NAME/
when: when:
matrix: matrix:
TESTS: syntax-php7.0 TESTS: syntax-php7.1
php7.0:
image: nextcloudci/php7.0:php7.0-2
environment:
- APP_NAME=data_request
- CORE_BRANCH=master
- DB=sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- ./occ app:enable $APP_NAME
- cd apps/$APP_NAME
# Run phpunit tests
- cd tests/unit/
- phpunit --configuration phpunit.xml
when:
matrix:
TESTS: php7.0
php7.1: php7.1:
image: nextcloudci/php7.1:php7.1-15 image: nextcloudci/php7.1:php7.1-16
environment: environment:
- APP_NAME=data_request - APP_NAME=data_request
- CORE_BRANCH=master - CORE_BRANCH=master
@ -113,12 +93,32 @@ pipeline:
when: when:
matrix: matrix:
TESTS: php7.2 TESTS: php7.2
php7.3:
image: nextcloudci/php7.3:php7.3-1
environment:
- APP_NAME=data_request
- CORE_BRANCH=master
- DB=sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- ./occ app:enable $APP_NAME
- cd apps/$APP_NAME
# Run phpunit tests
- cd tests/unit/
- phpunit --configuration phpunit.xml
when:
matrix:
TESTS: php7.3
matrix: matrix:
include: include:
- TESTS: signed-off-check - TESTS: signed-off-check
- TESTS: check-app-compatbility - TESTS: check-app-compatbility
- TESTS: syntax-php7.0 - TESTS: syntax-php7.1
- TESTS: php7.0
- TESTS: php7.1 - TESTS: php7.1
- TESTS: php7.2 - TESTS: php7.2
- TESTS: php7.3