.travis.yml in differential-1.0.6 vs .travis.yml in differential-1.1.0
- old
+ new
@@ -1,10 +1,20 @@
+env:
+ global:
+ - CC_TEST_REPORTER_ID=1d6125e1405ca3b6b88d283e48958d8996eda8f3ece262fd0714e3a0463df3c3
language: ruby
rvm:
-- 2.3.1
-- 2.3.7
-- 2.3.8
-- 2.6.0
+ # Build on the latest stable of all supported Rubies (https://www.ruby-lang.org/en/downloads/):
+ - 2.3.8
+ - 2.4.5
+ - 2.5.3
+ - 2.6.0
cache: bundler
+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 rubocop
-- bundle exec rspec
+ - bundle exec rubocop
+ - bundle exec rspec
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT