.travis.yml in logicality-1.0.5 vs .travis.yml in logicality-2.0.0
- old
+ new
@@ -1,8 +1,20 @@
+env:
+ global:
+ - CC_TEST_REPORTER_ID=20e69ab96711ba4fbc9e0ddce90bc3fc33cd5b110194aa778ed1ec227b597f09
language: ruby
rvm:
- - 2.3.1
- - 2.3.7
+ # 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
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT