Skip to content

Commit 5ff4b7f

Browse files
authored
Merge pull request grimzy#130 from grimzy/fix-mysql-5.6-codeclimate
Fix CodeClimate reporting (MySQL 5.6)
2 parents 00f7a54 + 0b9dcd8 commit 5ff4b7f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ install: composer install
2727

2828
before_script:
2929
- mkdir -p build/logs
30+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
31+
- chmod +x ./cc-test-reporter
32+
- ./cc-test-reporter before-build
3033

3134
script: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
3235

3336
after_script:
3437
- php vendor/bin/coveralls -v
35-
- vendor/bin/test-reporter
36-
37-
38+
- ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)