X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=.travis.yml;h=f1554b95d045556f1fd61e9f64ef5a6bb576dfe0;hb=99e086390b61e12c482c29a66fc4238360d87d9e;hp=e6e8cb201bd008444c02f63c1171d5b8998f7b96;hpb=1d461d8db360c6bb21b3de210fbf800fa8f7e095;p=plcapi.git diff --git a/.travis.yml b/.travis.yml index e6e8cb2..f1554b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,10 +47,11 @@ install: before_script: # Output what version of phpunit we got going - ./vendor/bin/phpunit --version + # Enable code coverage for a single version of php - if [ "$TRAVIS_PHP_VERSION" = "7.4" ]; then export PHP_OPTS="-d zend_extension=xdebug.so" && export PHPUNIT_OPTS="--coverage-clover=coverage.clover"; fi script: - php $PHP_OPTS ./phpunit/phpunit/phpunit $PHPUNIT_OPTS tests + php $PHP_OPTS ./vendor/phpunit/phpunit/phpunit $PHPUNIT_OPTS tests after_failure: # Troubleshoot test env build problems