Created
March 7, 2015 15:35
-
-
Save kittinan/124d539cd6fbf7c5e8d5 to your computer and use it in GitHub Desktop.
travis upload code coverage to scrutinizer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- 5.5 | |
- 5.4 | |
- 5.3 | |
- hhvm | |
before_script: | |
- wget http://getcomposer.org/composer.phar | |
- php composer.phar install --dev --no-interaction | |
script: | |
- phpunit ./tests | |
- mkdir -p build/logs | |
- phpunit --coverage-clover build/logs/clover.xml ./tests | |
after_script: | |
- php vendor/bin/coveralls -v | |
- wget https://scrutinizer-ci.com/ocular.phar | |
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment