Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Commit

Permalink
Switches to Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Feb 10, 2016
1 parent 618bff2 commit 35d7865
Show file tree
Hide file tree
Showing 3 changed files with 552 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ install:

before_script:
- composer install --no-interaction
- mkdir -p build/logs

script:
- phpunit --coverage-clover=coverage.clover
#- phpunit --coverage-clover=coverage.clover
- phpunit -c ./ --coverage-text --coverage-clover build/logs/clover.xml

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
#- wget https://scrutinizer-ci.com/ocular.phar
#- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- php vendor/bin/coveralls -v
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"dflydev/dot-access-configuration": "1.0.1"
},
"require-dev": {
"phpunit/phpunit": "4.8.*"
"phpunit/phpunit": "4.8.*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-4" : {
Expand Down
Loading

0 comments on commit 35d7865

Please sign in to comment.