Skip to content

Commit 502f439

Browse files
committed
Update code climate coverage tool
1 parent fcdd041 commit 502f439

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,16 @@ before_install:
2525
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
2626
- gem install bundler --version=1.17.3
2727

28+
before_script:
29+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
30+
- chmod +x ./cc-test-reporter
31+
- ./cc-test-reporter before-build
32+
2833
script:
29-
- RAILS_ENV=test bundle exec rake spec && bundle exec codeclimate-test-reporter
34+
- RAILS_ENV=test bundle exec rake spec
35+
36+
after_script:
37+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
3038

3139
cache: bundler
3240
sudo: false

0 commit comments

Comments
 (0)