.travis.yml
env:
global:
- CC_TEST_REPORTER_ID=00b25488b964b6eafdaa3052332087802a5ee28da0c8d78fbe223322aa24f957
sudo: false
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- ruby-head
os:
- linux
matrix:
allow_failures:
- rvm: ruby-head
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
- yes | gem update --system --force
- gem update bundler
install:
- bundle install
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 spec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT