summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-07 14:56:24 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-08 17:08:26 +0100
commit323b095be3fb1813cb675f822caaed3faee70948 (patch)
tree66d48d8c445ee59ae538ad224c29ee647dd646df
parent9cbc7dd8f77bcc12fd7e4265ebbd948f0e19b7f7 (diff)
downloadbundler-323b095be3fb1813cb675f822caaed3faee70948.tar.gz
Bump main tested ruby to 2.6.1
-rw-r--r--.travis.yml6
-rw-r--r--Rakefile7
2 files changed, 10 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index a1ab44d7f1..f8d4c6d8e9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,7 @@ addons:
secure: "TrzIv116JLGUxm6PAUskCYrv8KTDguncKROVwbnjVPKTGDAgoDderd8JUdDEXrKoZ9qGLD2TPYKExt9/QDl71E+qHdWnVqWv4HKCUk2P9z/VLKzHuggOUBkCXiJUhjywUieCJhI3N92bfq2EjSBbu2/OFHqWOjLQ+QCooTEBjv8="
rvm:
- - 2.6.0
+ - 2.6.1
- 2.5.3
- 2.4.5
- 2.3.8
@@ -46,7 +46,7 @@ env:
jobs:
include:
- - rvm: 2.6.0
+ - rvm: 2.6.1
script: rake rubocop
stage: linting
# Ruby 2.5, Rubygems 2.7 and up
@@ -75,7 +75,7 @@ jobs:
env: RGV=master
stage: test
# 1.x mode (we want to keep stuff passing in 1.x mode for now)
- - rvm: 2.6.0
+ - rvm: 2.6.1
env: RGV=v2.7.7 BUNDLER_SPEC_SUB_VERSION=1.98
stage: test
diff --git a/Rakefile b/Rakefile
index 21b11b9e59..e8ca39590d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -75,6 +75,13 @@ namespace :spec do
# Install the gems with a consistent version of RubyGems
sh "gem update --system 2.6.13"
+ # Fix incorrect default gem specifications on ruby 2.6.1. Can be removed
+ # when 2.6.2 is released and we start testing against it
+ if RUBY_VERSION == "2.6.1"
+ sh "gem install etc:1.0.1 --default"
+ sh "gem install bundler:1.17.2 --default"
+ end
+
$LOAD_PATH.unshift("./spec")
require "support/rubygems_ext"
Spec::Rubygems::DEPS["codeclimate-test-reporter"] = "~> 0.6.0" if RUBY_VERSION >= "2.2.0"