File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ before_script:
8
8
- composer self-update
9
9
- composer require codeclimate/php-test-reporter --dev
10
10
- 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
15
14
16
15
after_script :
17
16
- vendor/bin/test-reporter --stdout > codeclimate.json
18
17
- " 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
You can’t perform that action at this time.
0 commit comments