Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
xunto committed Nov 19, 2016
1 parent 3880061 commit 022b0d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ script:
mkdir -p build/logs;
if [[ $TRAVIS_PHP_VERSION == '5.6' ]]; then PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi ;
php vendor/bin/phpunit --colors $PHPUNIT_FLAGS ;
after_script:
- 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 @@ -18,7 +18,8 @@
"guzzlehttp/guzzle": "^6.2"
},
"require-dev": {
"phpunit/phpunit": "^5.4.6"
"phpunit/phpunit": "^5.4.6",
"satooshi/php-coveralls": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 022b0d1

Please sign in to comment.