From 2ccdc77659af5a1167b943ecd96d6934e1789f5c Mon Sep 17 00:00:00 2001 From: Sergey Alekseev Date: Mon, 16 Dec 2019 22:00:51 +0700 Subject: [PATCH] test against supported Rails 4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rails 4.2 env entry was removed from Travis CI as a simple workaround for failing tests in 593de1b86b57f9070c5904c5491bcfc32f1df089. As Rails 4.2 is still supported (see the latest merge commit – https://github.com/caxlsx/axlsx_rails/commit/237cbbde1a3e763ee208b08424c03d4f00e93cd6) it should be tested against in Travis CI as well. See https://docs.travis-ci.com/user/languages/ruby/#bundler-20. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0e9a601..3f6505a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ notifications: - noel@peden.biz on_success: always env: + - RAILS_VERSION=4.2 - RAILS_VERSION=5.0 - RAILS_VERSION=5.1 - RAILS_VERSION=5.2 @@ -18,7 +19,8 @@ rvm: - 2.5 - 2.6 before_install: - - gem update bundler + - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true + - gem install bundler -v '< 2' script: spec/ci.rb matrix: