.travis.yml in hashid-rails-1.2.1 vs .travis.yml in hashid-rails-1.2.2
- old
+ new
@@ -1,9 +1,15 @@
+env:
+ global:
+ - CC_TEST_REPORTER_ID=37aee70bb2e818f3bf4d2af88ea4a4355393901ba98b3876c244d42ed20fdbe1
language: ruby
cache: bundler
rvm:
- 2.3.0
-addons:
- code_climate:
- repo_token: 37aee70bb2e818f3bf4d2af88ea4a4355393901ba98b3876c244d42ed20fdbe1
-after_success:
- - bundle exec codeclimate-test-reporter
+before_script:
+ - 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
+script:
+ - bundle exec rspec
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT