Browse Source

Reverted selective code coverage

tags/3.0.0-alpha1
Alexander Makarov 7 years ago
parent
commit
f41399a6dc
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 7
      .travis.yml

7
.travis.yml

@ -96,8 +96,11 @@ before_script:
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost' WITH GRANT OPTION;"; - mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost' WITH GRANT OPTION;";
- psql -U postgres -c 'CREATE DATABASE yiitest;'; - psql -U postgres -c 'CREATE DATABASE yiitest;';
# enable code coverage # enable code coverage on PHP 7.1, only one PHP version needs to generate coverage data
- PHPUNIT_FLAGS="--coverage-clover=coverage.clover" - |
if [ $TRAVIS_PHP_VERSION = '7.1' ]; then
PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
fi
script: script:
# ensure no files contain UTF-8 byte order mark # ensure no files contain UTF-8 byte order mark

Loading…
Cancel
Save