.travis.yml in rspec-tabular-0.1.0 vs .travis.yml in rspec-tabular-0.2.0

- old
+ new

@@ -1,3 +1,24 @@ language: ruby rvm: - - 2.0.0 + - 2.1 + - 2.2 + - 2.3 + - 2.4 + - 2.5 + - ruby-head +matrix: + allow_failures: + - rvm: ruby-head + - rvm: 2.4 + os: osx +os: + - linux + - osx +sudo: false +before_script: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./cc-test-reporter ; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter ; fi + - chmod +x ./cc-test-reporter + - ./cc-test-reporter before-build +after_script: + - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT