2020-12-15 01:57:29 +01:00
|
|
|
version: ~> 1.0
|
2017-04-04 06:02:44 +02:00
|
|
|
|
2020-12-15 01:57:29 +01:00
|
|
|
import:
|
|
|
|
- silverstripe/silverstripe-travis-shared:config/provision/self.yml
|
2017-04-04 06:02:44 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2020-12-15 01:57:29 +01:00
|
|
|
- REQUIRE_RECIPE_TESTING="^1"
|
|
|
|
- REQUIRE_FRAMEWORKTEST="0.2.0"
|
2017-04-04 06:02:44 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
# Core php tests
|
2019-05-23 03:59:31 +02:00
|
|
|
- php: 7.1
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
|
|
|
- PDO=1
|
|
|
|
- COMPOSER_ARG=--prefer-lowest
|
2019-05-23 03:59:31 +02:00
|
|
|
- php: 7.2
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="framework"
|
2019-02-02 09:22:56 +01:00
|
|
|
- php: 7.3
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=PGSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
2020-02-26 02:58:21 +01:00
|
|
|
- php: 7.4
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
2020-10-14 03:31:51 +02:00
|
|
|
- php: nightly
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
|
|
|
- COMPOSER_ARG=--ignore-platform-reqs
|
2017-04-04 06:02:44 +02:00
|
|
|
# admin php tests
|
2019-05-23 03:59:31 +02:00
|
|
|
- php: 7.1
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
|
|
|
- PDO=1
|
|
|
|
- COMPOSER_ARG=--prefer-lowest
|
2019-02-02 09:22:56 +01:00
|
|
|
- php: 7.2
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=PGSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
2020-02-26 02:58:21 +01:00
|
|
|
- php: 7.4
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
2020-10-14 03:31:51 +02:00
|
|
|
- php: nightly
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
|
|
|
- COMPOSER_ARG=--ignore-platform-reqs
|
2017-05-22 03:41:00 +02:00
|
|
|
# behat tests
|
2019-05-23 03:59:31 +02:00
|
|
|
- php: 7.1
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- BEHAT_TEST=1
|
|
|
|
- BEHAT_SUITE="framework"
|
2019-05-23 03:59:31 +02:00
|
|
|
- php: 7.2
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- BEHAT_TEST=1
|
|
|
|
- BEHAT_SUITE="cms"
|
2020-02-26 02:58:21 +01:00
|
|
|
- php: 7.4
|
2020-12-15 01:57:29 +01:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- BEHAT_TEST=1
|
|
|
|
- BEHAT_SUITE="asset-admin"
|
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|