Update minimum PHP version to 7.1 in Travis

This commit is contained in:
Robbie Averill 2019-05-23 14:09:39 +12:00
parent 60b2947519
commit 62c36245c2

View File

@ -18,7 +18,7 @@ addons:
env: env:
global: global:
- TRAVIS_NODE_VERSION="10" - TRAVIS_NODE_VERSION="10"
- COMPOSER_ROOT_VERSION="4.4.x-dev" - COMPOSER_ROOT_VERSION="4.5.x-dev"
- DISPLAY=":99" - DISPLAY=":99"
- XVFBARGS=":99 -ac -screen 0 1024x768x16" - XVFBARGS=":99 -ac -screen 0 1024x768x16"
- SS_BASE_URL="http://localhost:8080/" - SS_BASE_URL="http://localhost:8080/"
@ -27,13 +27,13 @@ env:
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- php: 5.6
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
- php: 7.0
env: DB=PGSQL PHPUNIT_TEST=1
- php: 7.1 - php: 7.1
env: DB=MYSQL PDO=1 PHPUNIT_TEST=1 env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
- php: 7.2 - php: 7.2
env: DB=PGSQL PHPUNIT_TEST=1
- php: 7.3
env: DB=MYSQL PDO=1 PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL BEHAT_TEST=1 env: DB=MYSQL BEHAT_TEST=1
- php: 7.2 - php: 7.2
env: NPM_TEST=1 env: NPM_TEST=1
@ -52,7 +52,7 @@ before_script:
# Install composer dependencies # Install composer dependencies
- composer validate - composer validate
- composer require --no-update silverstripe/recipe-testing:^1 silverstripe/recipe-cms:4.4.x-dev - composer require --no-update silverstripe/recipe-testing:^1 silverstripe/recipe-cms:4.5.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.1.x-dev; fi - if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.1.x-dev; fi
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile - composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile