mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Enable code coverage builds with phpdbg and 7.1.7
PHP 7.1.7 is currently not segfaulting when generating coverage reports with phpdbg
This commit is contained in:
parent
ed0ed89865
commit
8b12e97d7a
@ -19,17 +19,17 @@ matrix:
|
|||||||
- php: 5.6
|
- php: 5.6
|
||||||
env:
|
env:
|
||||||
- DB=MYSQL
|
- DB=MYSQL
|
||||||
- PHPUNIT_COVERAGE_TEST=framework
|
|
||||||
- PHPCS_TEST=1
|
- PHPCS_TEST=1
|
||||||
|
- PHPUNIT_TEST=framework
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
env:
|
env:
|
||||||
- DB=PGSQL
|
- DB=PGSQL
|
||||||
- PHPUNIT_TEST=framework
|
- PHPUNIT_TEST=framework
|
||||||
- php: 7.1.2
|
- php: 7.1
|
||||||
env:
|
env:
|
||||||
- DB=MYSQL
|
- DB=MYSQL
|
||||||
- PDO=1
|
- PDO=1
|
||||||
- PHPUNIT_TEST=framework
|
- PHPUNIT_COVERAGE_TEST=framework
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
env:
|
env:
|
||||||
- DB=MYSQL
|
- DB=MYSQL
|
||||||
@ -77,7 +77,7 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit --testsuite $PHPUNIT_TEST; fi
|
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit --testsuite $PHPUNIT_TEST; fi
|
||||||
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then vendor/bin/phpunit --testsuite $PHPUNIT_COVERAGE_TEST --coverage-clover=coverage.xml; fi
|
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --testsuite $PHPUNIT_COVERAGE_TEST --coverage-clover=coverage.xml; fi
|
||||||
- if [[ $BEHAT_TEST == framework ]]; then vendor/bin/behat @framework; fi
|
- if [[ $BEHAT_TEST == framework ]]; then vendor/bin/behat @framework; fi
|
||||||
- if [[ $BEHAT_TEST == cms ]]; then vendor/bin/behat @cms; fi
|
- if [[ $BEHAT_TEST == cms ]]; then vendor/bin/behat @cms; fi
|
||||||
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
|
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
|
||||||
|
@ -13,4 +13,12 @@ Requires PHPUnit ^5.7
|
|||||||
<testsuite name="cms">
|
<testsuite name="cms">
|
||||||
<directory>cms/tests</directory>
|
<directory>cms/tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
<filter>
|
||||||
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||||
|
<directory suffix=".php">.</directory>
|
||||||
|
<exclude>
|
||||||
|
<directory suffix=".php">tests/</directory>
|
||||||
|
</exclude>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
Loading…
Reference in New Issue
Block a user