Merge pull request #8891 from Ramoonus/patch-9

travis: merge after UT code
This commit is contained in:
Claudio Sanches 2015-08-19 11:28:31 -03:00
commit 1d6fb39dbe
2 changed files with 5 additions and 2 deletions

View File

@ -28,5 +28,3 @@ script: phpunit -c phpunit.xml.dist
after_script:
- bash tests/bin/travis.sh after
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover ./tmp/clover.xml

View File

@ -17,4 +17,9 @@ elif [ $1 == 'after' ]; then
# send coverage data to coveralls
php vendor/bin/coveralls --verbose --exclude-no-stmt
# get scrutinizer and run it
wget https://scrutinizer-ci.com/ocular.phar
ocular.phar code-coverage:upload --format=php-clover ./tmp/clover.xml
fi