.travis.yml in openapi_parser-0.1.5 vs .travis.yml in openapi_parser-0.1.6

- old
+ new

@@ -1,7 +1,36 @@ ---- -sudo: false +env: + global: + - CC_TEST_REPORTER_ID=b49a1717b8ff0aef9eced41d0f87d350a88b46d55083ba2e3df8b6f441ae3fb7 + language: ruby -cache: bundler + rvm: + - 2.3.8 + - 2.4.5 - 2.5.3 -before_install: gem install bundler -v 1.16.6 + - 2.6.0 + - ruby-head + +cache: bundler + +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 + +notifications: + email: false + +sudo: false + +git: + depth: 10 + +matrix: + allow_failures: + - rvm: ruby-head