.travis.yml in active_model_cachers-2.1.0 vs .travis.yml in active_model_cachers-2.1.1
- old
+ new
@@ -1,22 +1,26 @@
+sudo: false
+env:
+ global:
+ - CC_TEST_REPORTER_ID=02a53f73b72a95af756b1c0270d4b22a6f07d25a1c65048e341371e7b72671d9
language: ruby
rvm:
- 2.2
- 2.3
-sudo: required
-dist: trusty
-before_install:
- - gem install bundler
- - gem update --system
- - gem --version
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
- gemfiles/5.1.gemfile
- gemfiles/5.2.gemfile
-addons:
- code_climate:
- repo_token: 02a53f73b72a95af756b1c0270d4b22a6f07d25a1c65048e341371e7b72671d9
-after_success:
- - bundle exec codeclimate-test-reporter
+before_install:
+ - gem install bundler
+ - gem update --system
+ - gem --version
+ - 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 rake test
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT