Skip to content

Commit f8410f3

Browse files
authored
Merge pull request #9 from DawidMazurek/coverage
code coverage report
2 parents 48d0b64 + a62a455 commit f8410f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ before_script:
88
- composer self-update
99
- composer require codeclimate/php-test-reporter --dev
1010
- composer install --prefer-dist --no-interaction
11-
12-
13-
after_script:
14-
- vendor/bin/test-reporter
11+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
12+
- chmod +x ./cc-test-reporter
13+
- ./cc-test-reporter before-build
1514

1615
after_script:
1716
- vendor/bin/test-reporter --stdout > codeclimate.json
1817
- "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"
18+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)