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:
Robbie Averill 2017-07-16 13:56:12 +12:00 committed by Sam Minnée
parent ed0ed89865
commit 8b12e97d7a
2 changed files with 12 additions and 4 deletions

View File

@ -19,17 +19,17 @@ matrix:
- php: 5.6
env:
- DB=MYSQL
- PHPUNIT_COVERAGE_TEST=framework
- PHPCS_TEST=1
- PHPUNIT_TEST=framework
- php: 7.0
env:
- DB=PGSQL
- PHPUNIT_TEST=framework
- php: 7.1.2
- php: 7.1
env:
- DB=MYSQL
- PDO=1
- PHPUNIT_TEST=framework
- PHPUNIT_COVERAGE_TEST=framework
- php: 7.0
env:
- DB=MYSQL
@ -77,7 +77,7 @@ before_script:
script:
- 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 == cms ]]; then vendor/bin/behat @cms; fi
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi

View File

@ -13,4 +13,12 @@ Requires PHPUnit ^5.7
<testsuite name="cms">
<directory>cms/tests</directory>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>