starburstgem/starburst

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
---
arch: amd64
os: linux
dist: bionic
env:
  global:
    - CC_TEST_REPORTER_ID=73e44c1f430ccd919b2549ec5e318608be412742ba67f260d1f815702a7f89b0
language: ruby
cache: bundler
bundler_args: --with development
gemfile:
  - gemfiles/rails_4.2.0.gemfile
  - gemfiles/rails_5.0.0.gemfile
  - gemfiles/rails_5.1.0.gemfile
  - gemfiles/rails_5.2.0.gemfile
  - gemfiles/rails_6.0.0.gemfile
  - gemfiles/rails_6.1.0.gemfile
rvm:
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7
jobs:
  allow_failures:
    - gemfile: gemfiles/rails_5.2.0.gemfile
      rvm: 2.2
  exclude:
    - gemfile: gemfiles/rails_6.1.0.gemfile
      rvm: 2.4
    - gemfile: gemfiles/rails_6.1.0.gemfile
      rvm: 2.3
    - gemfile: gemfiles/rails_6.1.0.gemfile
      rvm: 2.2
    - gemfile: gemfiles/rails_6.0.0.gemfile
      rvm: 2.2
    - gemfile: gemfiles/rails_6.0.0.gemfile
      rvm: 2.3
    - gemfile: gemfiles/rails_6.0.0.gemfile
      rvm: 2.4
    - gemfile: gemfiles/rails_4.2.0.gemfile
      rvm: 2.6
    - gemfile: gemfiles/rails_4.2.0.gemfile
      rvm: 2.7
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 --exit-code $TRAVIS_TEST_RESULT