Skip to content

Commit ba8ad43

Browse files
committed
Add various installer versions to Travis build matrix
1 parent 836c7b4 commit ba8ad43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ env:
99
matrix:
1010
include:
1111
- php: 5.6
12-
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1
12+
env: DB=MYSQL INSTALLER_VERSION=4.0.x-dev PHPCS_TEST=1 PHPUNIT_TEST=1
1313
- php: 7.0
14-
env: DB=PGSQL PHPUNIT_TEST=1
14+
env: DB=PGSQL INSTALLER_VERSION=4.1.x-dev PHPUNIT_TEST=1
1515
- php: 7.1
16-
env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1
16+
env: DB=MYSQL INSTALLER_VERSION=4.2.x-dev PHPUNIT_COVERAGE_TEST=1
1717
- php: 7.2
18-
env: DB=MYSQL PHPUNIT_TEST=1
18+
env: DB=MYSQL INSTALLER_VERSION=4.x-dev PHPUNIT_TEST=1
1919

2020
before_script:
2121
# Init PHP
@@ -25,7 +25,7 @@ before_script:
2525

2626
# Install composer dependencies
2727
- composer validate
28-
- composer require --no-update silverstripe/installer:4.0.x-dev silverstripe/widgets:2.x-dev
28+
- composer require --no-update silverstripe/installer:$INSTALLER_VERSION silverstripe/widgets:2.x-dev
2929
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.0.x-dev; fi
3030
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
3131

0 commit comments

Comments
 (0)