mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
69df70b045
MNT Use admin behat suite instead of framework
85 lines
1.8 KiB
YAML
85 lines
1.8 KiB
YAML
version: ~> 1.0
|
|
|
|
import:
|
|
- silverstripe/silverstripe-travis-shared:config/provision/self.yml
|
|
|
|
env:
|
|
global:
|
|
- REQUIRE_RECIPE_TESTING="^1"
|
|
- REQUIRE_FRAMEWORKTEST="^0.4.2"
|
|
# vfsstream is a dev dependency of the assets module
|
|
- REQUIRE_EXTRA="mikey179/vfsstream:^1.6"
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
# Core php tests
|
|
- php: 7.1
|
|
env:
|
|
- DB=MYSQL
|
|
- PHPUNIT_TEST=1
|
|
- PHPUNIT_SUITE="core"
|
|
- PDO=1
|
|
- COMPOSER_INSTALL_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: 8.0
|
|
env:
|
|
- DB=MYSQL
|
|
- PHPUNIT_TEST=1
|
|
- PHPUNIT_SUITE="core"
|
|
- COMPOSER_INSTALL_ARG="--ignore-platform-reqs"
|
|
# admin php tests
|
|
- php: 7.1
|
|
env:
|
|
- DB=MYSQL
|
|
- PHPUNIT_TEST=1
|
|
- PHPUNIT_SUITE="admin"
|
|
- PDO=1
|
|
- COMPOSER_INSTALL_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: 8.0
|
|
env:
|
|
- DB=MYSQL
|
|
- PHPUNIT_TEST=1
|
|
- PHPUNIT_SUITE="admin"
|
|
- COMPOSER_INSTALL_ARG="--ignore-platform-reqs"
|
|
# behat tests
|
|
- php: 7.1
|
|
env:
|
|
- DB=MYSQL
|
|
- BEHAT_TEST=1
|
|
- BEHAT_SUITE="admin"
|
|
- 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"
|