diff --git a/.travis.yml b/.travis.yml index be09512d..50c3ea43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,17 +15,13 @@ env: matrix: include: - - php: 5.6 - env: DB=PGSQL PHPUNIT_TEST=1 PHPCS_TEST=1 - - php: 7.0 - env: DB=MYSQL PHPUNIT_TEST=1 - php: 7.1 env: DB=MYSQL PDO=1 PHPUNIT_COVERAGE_TEST=1 - php: 7.2 env: DB=MYSQL PHPUNIT_TEST=1 - php: 7.2 - env: DB=MYSQL NPM_TEST=1 - - php: 7.0 + env: DB=PGSQL PHPUNIT_TEST=1 PHPCS_TEST=1 NPM_TEST=1 + - php: 7.1 env: DB=MYSQL BEHAT_TEST=1 before_script: @@ -40,8 +36,8 @@ before_script: # Install composer - composer validate - - if [[ $DB == PGSQL ]]; then composer require --prefer-dist --no-update silverstripe/postgresql 2.0.x-dev; fi - - composer require --no-update silverstripe/recipe-testing:^1 silverstripe/recipe-cms 1.2.x-dev + - if [[ $DB == PGSQL ]]; then composer require --prefer-dist --no-update silverstripe/postgresql 3.x-dev; fi + - composer require --no-update silverstripe/recipe-testing:^2 silverstripe/recipe-cms 5.x-dev - composer install --prefer-source # Behat bootstrapping diff --git a/composer.json b/composer.json index e989c908..4917dde6 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "silverstripe/vendor-plugin": "^1" }, "require-dev": { - "phpunit/phpunit": "^5", + "phpunit/phpunit": "^7", "squizlabs/php_codesniffer": "^3", "silverstripe/cms": "^5@dev" },