saiqulhaq/case_transform

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
sudo: false
before_install: gem install bundler -v 1.16.1
env:
  global:
    - CC_TEST_REPORTER_ID=7eaf794e2ffbbd1bbe4eccd967a5428a6318cad2a33b8fd0baf42d6335a334a0
language: ruby
bundler_args: --without guard guard-rspec
rvm:
  - "2.3.7"
  - "2.4.4"
  - "2.5.1"
  - ruby-head
branches:
  only: master
notifications:
  email: false
matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head

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:
  - COVERAGE=1 bundle exec rspec
after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT