mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Adjust Travis to use 4.3 and 4.2
This commit is contained in:
parent
8a2417a750
commit
fc83d6813e
@ -6,16 +6,16 @@ php:
|
|||||||
- 7.1
|
- 7.1
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- DB=MYSQL CORE_RELEASE=4.1
|
- DB=MYSQL CORE_RELEASE=4.3
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
env: DB=PGSQL CORE_RELEASE=4.1
|
env: DB=PGSQL CORE_RELEASE=4.3
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
env: DB=SQLITE3 CORE_RELEASE=4.1
|
env: DB=SQLITE3 CORE_RELEASE=4.3
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
env: DB=MYSQL CORE_RELEASE=4.0
|
env: DB=MYSQL CORE_RELEASE=4.2
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Init PHP
|
# Init PHP
|
||||||
@ -27,6 +27,7 @@ before_script:
|
|||||||
- composer validate
|
- composer validate
|
||||||
- composer require --no-update silverstripe/recipe-core:^1.0
|
- composer require --no-update silverstripe/recipe-core:^1.0
|
||||||
- composer require --no-update phpunit/phpunit:^5.7
|
- 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 == 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
|
- 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
|
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
||||||
|
Loading…
Reference in New Issue
Block a user