diff --git a/.travis.yml b/.travis.yml index 3d5ffc6..e1f0a5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: php +dist: trusty + env: global: - COMPOSER_ROOT_VERSION=2.x-dev @@ -7,13 +9,13 @@ env: matrix: include: - php: 5.6 - env: DB=MYSQL RECIPE_VERSION=1.0.x-dev PHPUNIT_TEST=1 PHPCS_TEST=1 + env: DB=MYSQL RECIPE_VERSION=4.2.x-dev PHPUNIT_TEST=1 PHPCS_TEST=1 - php: 5.6 - env: DB=MYSQL RECIPE_VERSION=1.1.x-dev PHPUNIT_TEST=1 MAINTENANCE=^2 + env: DB=MYSQL RECIPE_VERSION=4.3.x-dev PHPUNIT_TEST=1 MAINTENANCE=^2 - php: 7.0 - env: DB=PGSQL RECIPE_VERSION=4.2.x-dev PHPUNIT_TEST=1 + env: DB=PGSQL RECIPE_VERSION=4.4.x-dev PHPUNIT_TEST=1 - php: 7.1 - env: DB=PGSQL RECIPE_VERSION=4.2.x-dev PHPUNIT_TEST=1 + env: DB=PGSQL RECIPE_VERSION=4.5.x-dev PHPUNIT_TEST=1 - php: 7.2 env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_COVERAGE_TEST=1 MAINTENANCE=2.x-dev @@ -24,7 +26,6 @@ before_script: - composer require --no-update silverstripe/recipe-cms "$RECIPE_VERSION" - if [[ $MAINTENANCE ]]; then composer require --no-update bringyourownideas/silverstripe-maintenance:"$MAINTENANCE"; fi - # Note: Postgres version is for SilverStripe >= 4.2.x - if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.1.x-dev; fi - composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile