Skip to content

Commit

Permalink
add coveralls to master
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Aug 26, 2016
1 parent cfd7972 commit 3b282d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage_clover: build/logs/clover.xml
json_path: build/logs/coveralls-upload.json
service_name: travis-ci
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ before_script:
script:
- vendor/bin/phpspec run
- vendor/bin/phpunit

after_script:
- vendor/bin/test-reporter
- php CoverageChecker.php clover.xml 65
- export CI_BUILD_NUMBER="$TRAVIS_BUILD_NUMBER"
- export CI_PULL_REQUEST="$TRAVIS_PULL_REQUEST"
- export CI_BRANCH="$TRAVIS_BRANCH"
- vendor/bin/coveralls -v

## Send Build Notifications to Slack
notifications:
Expand Down

0 comments on commit 3b282d2

Please sign in to comment.