Adjust Travis to use 4.3 and 4.2

This commit is contained in:
UndefinedOffset 2018-12-13 14:15:20 -04:00
parent 8a2417a750
commit fc83d6813e
1 changed files with 5 additions and 4 deletions

View File

@ -6,16 +6,16 @@ php:
- 7.1
env:
- DB=MYSQL CORE_RELEASE=4.1
- DB=MYSQL CORE_RELEASE=4.3
matrix:
include:
- php: 7.1
env: DB=PGSQL CORE_RELEASE=4.1
env: DB=PGSQL CORE_RELEASE=4.3
- php: 7.1
env: DB=SQLITE3 CORE_RELEASE=4.1
env: DB=SQLITE3 CORE_RELEASE=4.3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=4.0
env: DB=MYSQL CORE_RELEASE=4.2
before_script:
# Init PHP
@ -27,6 +27,7 @@ before_script:
- composer validate
- composer require --no-update silverstripe/recipe-core:^1.0
- composer require --no-update phpunit/phpunit:^5.7
- if [[ $CORE_RELEASE == 4.2 ]]; composer require --no-update silverstripe/versioned ^1.2; fi
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.0.x-dev --prefer-dist --no-update; fi
- if [[ $DB == SQLITE ]]; then composer require silverstripe/sqlite3:2.1.x-dev --prefer-dist --no-update; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile