.travis.yml in mrkt-0.11.0 vs .travis.yml in mrkt-0.11.1
- old
+ new
@@ -1,13 +1,22 @@
+env:
+ global:
+ - CC_TEST_REPORTER_ID=45cd2174f49b570406e294ff393d456c4ae8532cf16dd6430abb06d8a0722a28
+ - COVERAGE=on
language: ruby
rvm:
- 2.3.6
- 2.4.3
- 2.5.0
- 2.6.0
-addons:
- code_climate:
- repo_token: 45cd2174f49b570406e294ff393d456c4ae8532cf16dd6430abb06d8a0722a28
before_install:
- gem update --system
-after_success:
- - bundle exec codeclimate-test-reporter
+ - bundle update --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 rspec
+ - bundle exec rubocop
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT