europeana/europeana-blacklight

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: ruby
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
notifications:
  email: false
sudo: false
cache:
  bundler: true
# Downgrade bundler to 1.x <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
before_install:
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
  - gem install bundler -v '< 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 rspec
after_script:
  - ./cc-test-reporter after-build -t simplecov --exit-code $TRAVIS_TEST_RESULT