Skip to content

Commit

Permalink
Merge pull request #9 from DawidMazurek/coverage
Browse files Browse the repository at this point in the history
code coverage report
  • Loading branch information
DawidMazurek authored Feb 10, 2018
2 parents 48d0b64 + a62a455 commit f8410f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ before_script:
- composer self-update
- composer require codeclimate/php-test-reporter --dev
- composer install --prefer-dist --no-interaction


after_script:
- vendor/bin/test-reporter
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

after_script:
- vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v1.0.1-dev)' https://codeclimate.com/test_reports"
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 comments on commit f8410f3

Please sign in to comment.