silverstripe-installer/.travis.yml

85 lines
1.8 KiB
YAML
Raw Normal View History

2020-12-15 01:57:29 +01:00
version: ~> 1.0
2020-12-15 01:57:29 +01:00
import:
- silverstripe/silverstripe-travis-shared:config/provision/self.yml
env:
global:
2020-12-15 01:57:29 +01:00
- REQUIRE_RECIPE_TESTING="^1"
2021-04-27 00:42:09 +02:00
- REQUIRE_FRAMEWORKTEST="^0.4.2"
2021-04-23 00:15:48 +02:00
# vfsstream is a dev dependency of the assets module
- REQUIRE_EXTRA="mikey179/vfsstream:^1.6"
matrix:
fast_finish: true
include:
# Core php tests
2021-11-03 23:13:45 +01:00
- php: 7.3
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="core"
- PDO=1
2021-01-26 23:25:31 +01:00
- COMPOSER_INSTALL_ARG="--prefer-lowest"
2021-11-03 23:13:45 +01:00
- php: 7.3
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="framework"
- php: 7.3
2020-12-15 01:57:29 +01:00
env:
- DB=PGSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="core"
- php: 7.4
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="core"
2021-01-26 23:25:31 +01:00
- php: 8.0
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="core"
2021-01-26 23:25:31 +01:00
- COMPOSER_INSTALL_ARG="--ignore-platform-reqs"
# admin php tests
2021-11-03 23:13:45 +01:00
- php: 7.3
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="admin"
- PDO=1
2021-01-26 23:25:31 +01:00
- COMPOSER_INSTALL_ARG="--prefer-lowest"
2021-11-03 23:13:45 +01:00
- php: 7.3
2020-12-15 01:57:29 +01:00
env:
- DB=PGSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="admin"
- php: 7.4
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="admin"
2021-01-26 23:25:31 +01:00
- php: 8.0
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- PHPUNIT_TEST=1
- PHPUNIT_SUITE="admin"
2021-01-26 23:25:31 +01:00
- COMPOSER_INSTALL_ARG="--ignore-platform-reqs"
# behat tests
2021-11-03 23:13:45 +01:00
- php: 7.3
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- BEHAT_TEST=1
- BEHAT_SUITE="admin"
2021-11-03 23:13:45 +01:00
- php: 7.3
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- BEHAT_TEST=1
- BEHAT_SUITE="cms"
- php: 7.4
2020-12-15 01:57:29 +01:00
env:
- DB=MYSQL
- BEHAT_TEST=1
- BEHAT_SUITE="asset-admin"