version: ~> 1.0 import: - silverstripe/silverstripe-travis-shared:config/provision/self.yml env: global: - REQUIRE_RECIPE_TESTING="^1" - REQUIRE_FRAMEWORKTEST="0.2.0" matrix: fast_finish: true include: # Core php tests - php: 7.1 env: - DB=MYSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="core" - PDO=1 - COMPOSER_ARG=--prefer-lowest - php: 7.2 env: - DB=MYSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="framework" - php: 7.3 env: - DB=PGSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="core" - php: 7.4 env: - DB=MYSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="core" - php: nightly env: - DB=MYSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="core" - COMPOSER_ARG=--ignore-platform-reqs # admin php tests - php: 7.1 env: - DB=MYSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="admin" - PDO=1 - COMPOSER_ARG=--prefer-lowest - php: 7.2 env: - DB=PGSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="admin" - php: 7.4 env: - DB=MYSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="admin" - php: nightly env: - DB=MYSQL - PHPUNIT_TEST=1 - PHPUNIT_SUITE="admin" - COMPOSER_ARG=--ignore-platform-reqs # behat tests - php: 7.1 env: - DB=MYSQL - BEHAT_TEST=1 - BEHAT_SUITE="framework" - php: 7.2 env: - DB=MYSQL - BEHAT_TEST=1 - BEHAT_SUITE="cms" - php: 7.4 env: - DB=MYSQL - BEHAT_TEST=1 - BEHAT_SUITE="asset-admin" allow_failures: - php: nightly