2021-03-31 21:57:39 +02:00
|
|
|
version: ~> 1.0
|
2015-11-21 07:44:04 +01:00
|
|
|
|
2021-03-31 21:57:39 +02:00
|
|
|
# Use a manual matrix as composer.json requires "silverstripe/cms": "^4.6",
|
|
|
|
# This should be changed to "standard-jobs-range-npm" as soon as the lowest recipe
|
|
|
|
# version in the travis shared jobs matrix is 4.6
|
|
|
|
import:
|
|
|
|
- silverstripe/silverstripe-travis-shared:config/provision/standard.yml
|
2018-04-20 06:18:27 +02:00
|
|
|
|
2021-03-31 21:57:39 +02:00
|
|
|
jobs:
|
2015-11-21 07:44:04 +01:00
|
|
|
include:
|
2021-03-31 21:57:39 +02:00
|
|
|
- php: 7.4
|
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- REQUIRE_INSTALLER="4.6.x-dev"
|
|
|
|
- NPM_TEST=1
|
2018-04-20 06:18:27 +02:00
|
|
|
- php: 7.1
|
2021-03-31 21:57:39 +02:00
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- REQUIRE_INSTALLER="4.6.x-dev"
|
|
|
|
- PHPUNIT_TEST=1
|
2018-04-20 06:18:27 +02:00
|
|
|
- php: 7.2
|
2021-03-31 21:57:39 +02:00
|
|
|
env:
|
|
|
|
- DB=PGSQL
|
|
|
|
- REQUIRE_INSTALLER="4.6.x-dev"
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- php: 7.3
|
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- REQUIRE_INSTALLER="4.7.x-dev"
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- PHPCS_TEST=1
|
|
|
|
- php: 7.3
|
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- REQUIRE_INSTALLER="4.7.x-dev"
|
|
|
|
- BEHAT_TEST=1
|
|
|
|
- BEHAT_SUITE="userforms"
|
|
|
|
- php: 7.4
|
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- REQUIRE_INSTALLER="4.x-dev"
|
|
|
|
- PHPUNIT_COVERAGE_TEST=1
|
|
|
|
- php: nightly
|
|
|
|
env:
|
|
|
|
- DB=MYSQL
|
|
|
|
- REQUIRE_INSTALLER="4.x-dev"
|
|
|
|
- PHPUNIT_TEST=1
|
|
|
|
- COMPOSER_INSTALL_ARG=--ignore-platform-reqs
|