czuger/hazard

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
#sudo: false

#before_install: gem install bundler -v 1.13.6

env:
  global:
    - CC_TEST_REPORTER_ID=909815ccc68b9e9eea2388daa1b7d8edfa32a4dc013c367ea2ca3442d1742964

language: ruby
rvm:
  - 2.6
  - 2.5
  - 2.4
  - 2.3
  - 2.2

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 rake test

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT