2020-12-15 13:57:29 +13:00
|
|
|
version: ~> 1.0
|
2017-04-04 16:02:44 +12:00
|
|
|
|
2020-12-15 13:57:29 +13:00
|
|
|
import:
|
|
|
|
- silverstripe/silverstripe-travis-shared:config/provision/self.yml
|
2017-04-04 16:02:44 +12:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2021-12-02 15:54:33 +13:00
|
|
|
- REQUIRE_RECIPE_TESTING="^2"
|
2021-04-27 10:42:09 +12:00
|
|
|
- REQUIRE_FRAMEWORKTEST="^0.4.2"
|
2021-04-23 10:15:48 +12:00
|
|
|
# vfsstream is a dev dependency of the assets module
|
2022-02-21 09:51:35 +13:00
|
|
|
- REQUIRE_EXTRA="mikey179/vfsstream:^1.6.10"
|
2017-04-04 16:02:44 +12:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
# Core php tests
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
|
|
|
- PDO=1
|
2021-01-27 11:25:31 +13:00
|
|
|
- COMPOSER_INSTALL_ARG="--prefer-lowest"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="framework"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=PGSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 8.0
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 8.1.0
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="core"
|
2017-04-04 16:02:44 +12:00
|
|
|
# admin php tests
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
|
|
|
- PDO=1
|
2021-01-27 11:25:31 +13:00
|
|
|
- COMPOSER_INSTALL_ARG="--prefer-lowest"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=PGSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 8.0
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 8.1.0
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPUNIT_SUITE="admin"
|
2017-05-22 13:41:00 +12:00
|
|
|
# behat tests
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- BEHAT_TEST=1
|
2021-04-27 12:44:46 +12:00
|
|
|
- BEHAT_SUITE="admin"
|
2022-02-21 09:51:35 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- BEHAT_TEST=1
|
|
|
|
- BEHAT_SUITE="cms"
|
2020-02-26 14:58:21 +13:00
|
|
|
- php: 7.4
|
2020-12-15 13:57:29 +13:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- BEHAT_TEST=1
|
|
|
|
- BEHAT_SUITE="asset-admin"
|
2022-02-21 09:51:35 +13:00
|
|
|
allow_failures:
|
|
|
|
- php: 8.1.0
|