.travis.yml in rspec-tabular-0.2.0 vs .travis.yml in rspec-tabular-0.3.0
- old
+ new
@@ -1,24 +1,36 @@
language: ruby
rvm:
- - 2.1
- - 2.2
- - 2.3
- - 2.4
- 2.5
+ - 2.6
+ - 2.7
- ruby-head
+ - jruby
matrix:
- allow_failures:
+ exclude:
+ - rvm: jruby
+ os: osx
- rvm: ruby-head
- - rvm: 2.4
os: osx
+ allow_failures:
+ - rvm: ruby-head
+ - rvm: jruby
os:
- linux
- osx
sudo: false
+cache:
+ bundler: true
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
+
+# HACK: Continue to use bundler <2 because of Ruby v2.2 support. Once the
+# lowest dependency is Ruby v2.3 we can consider upgrading to Bundler 2.x.
+# @see https://docs.travis-ci.com/user/languages/ruby/#bundler-20
+before_install:
+ - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
+ - gem install bundler -v '< 2'