Skip to content

Commit

Permalink
Integrate coveralls with travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Gasol committed Nov 4, 2014
1 parent e5765b1 commit 64659cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
service_name: travis-ci

src_dir: library
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ before_script:

script: phpunit -c phpunit.xml.travis

after_script: vendor/bin/coveralls -v
4 changes: 4 additions & 0 deletions phpunit.xml.travis
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
</testsuite>
</testsuites>

<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>

<filter>
<whitelist>
<directory suffix=".php">library</directory>
Expand Down

0 comments on commit 64659cc

Please sign in to comment.