rootstrap/rsgem

View on GitHub
lib/rsgem/support/travis.yml

Summary

Maintainability
Test Coverage
language: ruby

rvm:
  - 2.5.0
  - 2.6.0
  - ruby-head

dist: bionic

jobs:
  allow_failures:
    - rvm: ruby-head

env:
  global:
    - CC_TEST_REPORTER_ID=get_a_test_reporter_id_from_code_climate

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 code_analysis
  - bundle exec rspec

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