.travis.yml in autocomplete_zipcode-1.2.0 vs .travis.yml in autocomplete_zipcode-2.0.0
- old
+ new
@@ -1,4 +1,15 @@
+env:
+ global:
+ - CC_TEST_REPORTER_ID=$CODE_CLIMATE_TOKEN
language: ruby
rvm:
- 2.6.3
-before_install: gem install bundler:2.1.4
+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
+ - gem install bundler:2.1.4
+script:
+ - bundle exec rspec
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
\ No newline at end of file