Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
Plug coveralls into travis
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-magosa committed Oct 12, 2014
1 parent c07229a commit a490dd4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ php:
install:
- composer install

script: phpunit --bootstrap ./tests/bootstrap.php ./tests/
before_script:
- mkdir -p build/logs

script:
- phpunit --coverage-clover build/logs/clover.xml --bootstrap ./tests/bootstrap.php ./tests/

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 @@ -12,7 +12,8 @@
}
],
"require-dev": {
"phpunit/phpunit": "4.2.*"
"phpunit/phpunit": "4.2.*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-0": {
Expand Down

0 comments on commit a490dd4

Please sign in to comment.