mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
NEW: Add test for PHP 7.3 support (SS4 version)
This also removed the allow_failures nightly build, reasoning that the PHP 7.3 build is the primary test-case where, and allow_failures builds are of limited value.
This commit is contained in:
parent
755907d117
commit
e1f2f89d37
22
.travis.yml
22
.travis.yml
@ -23,36 +23,43 @@ matrix:
|
||||
- DB=MYSQL
|
||||
- PHPCS_TEST=1
|
||||
- PHPUNIT_TEST=framework
|
||||
|
||||
- php: 7.0
|
||||
env:
|
||||
- DB=PGSQL
|
||||
- PHPUNIT_TEST=framework
|
||||
|
||||
- php: 7.1
|
||||
if: type IN (cron)
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PDO=1
|
||||
- PHPUNIT_COVERAGE_TEST=framework
|
||||
|
||||
- php: 7.2
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PDO=1
|
||||
- PHPUNIT_TEST=framework
|
||||
- php: nightly
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PDO=1
|
||||
- PHPUNIT_TEST=framework
|
||||
|
||||
- php: 7.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=cms
|
||||
allow_failures:
|
||||
- php: nightly
|
||||
|
||||
- php: 7.3.0RC1
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PDO=1
|
||||
- PHPUNIT_TEST=framework
|
||||
sudo: required
|
||||
dist: xenial
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libzip4
|
||||
services:
|
||||
- mysql
|
||||
|
||||
before_script:
|
||||
# Extra $PATH
|
||||
@ -77,7 +84,6 @@ before_script:
|
||||
# Log constants to CI for debugging purposes
|
||||
- php ./tests/dump_constants.php
|
||||
|
||||
|
||||
script:
|
||||
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit --testsuite $PHPUNIT_TEST; fi
|
||||
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --testsuite $PHPUNIT_COVERAGE_TEST --coverage-clover=coverage.xml; fi
|
||||
|
Loading…
Reference in New Issue
Block a user