diff options
author | Olivier Paroz <github@oparoz.com> | 2015-08-04 21:22:52 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-08-04 21:22:52 +0300 |
commit | 328eddd21920779a5a8daa6ba69ae1f43e6047bb (patch) | |
tree | f019862b78580cb2c2e6db934c817dd18d858e2e /.travis.yml | |
parent | 1491ce31e01a9b77d01d334fef6818ff513c3b55 (diff) |
Try to override the report format for PHP 7.0
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 44711b4c..d40b41c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,8 +34,9 @@ script: - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.4' ]; then find . -name \*.php -exec php -l "{}" \;; fi" # Run phpunit tests - - phpunit -c phpunit.xml + - sh -c "if [ '$TRAVIS_PHP_VERSION' != '7' ]; then phpunit -c phpunit.xml; fi;" - sh -c "if [ '$TRAVIS_PHP_VERSION' != '7' ]; then phpunit -c phpunit.integration.xml; fi;" + - sh -c "if [ '$TRAVIS_PHP_VERSION' = '7' ]; then phpunit -c phpunit.xml --coverage-clover tests/clover.xml; fi;" # Merge clover reports - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ] && [ '$TRAVIS_PHP_VERSION' != '7' ]; then php vendor/bin/phpcov merge --clover tests/clover.xml tests; fi;" |