.travis.yml in cinnamon_serial-2.1.0 vs .travis.yml in cinnamon_serial-2.1.1
- old
+ new
@@ -1,8 +1,20 @@
+env:
+ global:
+ - CC_TEST_REPORTER_ID=929b1dd2a9ccbfa28740405a6471ca20da6aa8eacbf8cf1b6c4c7e632bbe9acd
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