Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Drop stuff from travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ojab committed Apr 27, 2018
1 parent 39af646 commit b101433
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 54 deletions.
50 changes: 3 additions & 47 deletions .travis.yml
@@ -1,3 +1,4 @@
sudo: requred
language: ruby
script: rake spec:travis
before_script:
Expand All @@ -6,57 +7,12 @@ before_script:
- travis_retry rake man:build
- travis_retry rake spec:rubygems:clone_rubygems_$RGV

branches:
only:
- master
- auto
- /.+-dev$/
- /.+-stable$/

notifications:
slack:
on_success: change
on_failure: always
rooms:
- secure: JxBi7DDJGkIF/7f/FSN/HUHpvV4EKfQccZHTPd1b2pNJn3GXo6u+tNVbAw2WjxYzPyPQI3ZcYBCU9SEXp/i7VmG8uMzh8Kyildw+miSKYKVb90uYqcsXWzbxwyNBgJLvyDkzST45H5lgnyAicee3WkFes/WDZikIajbH7ztdb04=

addons:
code_climate:
repo_token:
secure: "TrzIv116JLGUxm6PAUskCYrv8KTDguncKROVwbnjVPKTGDAgoDderd8JUdDEXrKoZ9qGLD2TPYKExt9/QDl71E+qHdWnVqWv4HKCUk2P9z/VLKzHuggOUBkCXiJUhjywUieCJhI3N92bfq2EjSBbu2/OFHqWOjLQ+QCooTEBjv8="

rvm:
- 2.5.0
- 2.4.3
- 2.3.6

# Rubygems versions MUST be available as rake tasks
# see Rakefile:125 for the list of possible RGV values
- 2.5.1
env:
# We need to know if changes to rubygems will break bundler on release
- RGV=master
# Test the latest rubygems release with all of our supported rubies
- RGV=v2.7.4

matrix:
include:
# Ruby 2.4, Rubygems 2.6.8 and up
- rvm: 2.4.2
env: RGV=v2.6.14
# Ruby 2.3, Rubygems 2.5.1 and up
- rvm: 2.3.5
env: RGV=v2.5.2
- rvm: 2.3.5
- rvm: 2.5.1
env: RGV=v2.6.14
# Ruby-head (we want to know how we're doing, but not fail the build)
- rvm: ruby-head
env: RGV=master
# 1.x mode (we want to keep stuff passing in 1.x mode for now)
- rvm: 2.4.2
env: RGV=v2.7.4 BUNDLER_SPEC_SUB_VERSION=1.98
- rvm: 1.8.7
env: RGV=v2.7.4 BUNDLER_SPEC_SUB_VERSION=1.98

allow_failures:
- rvm: ruby-head
env: RGV=master
5 changes: 0 additions & 5 deletions Rakefile
Expand Up @@ -213,11 +213,6 @@ begin
# disallow making network requests on CI
ENV["BUNDLER_SPEC_PRE_RECORDED"] = "TRUE"

if RUBY_VERSION >= "2.0.0"
puts "\n\e[1;33m[Travis CI] Running bundler linter\e[m\n\n"
Rake::Task["rubocop"].invoke
end

puts "\n\e[1;33m[Travis CI] Running bundler specs against RubyGems #{rg}\e[m\n\n"
specs = safe_task { Rake::Task["spec:rubygems:#{rg}"].invoke }

Expand Down
2 changes: 1 addition & 1 deletion spec/runtime/setup_spec.rb
Expand Up @@ -857,7 +857,7 @@ def clean_load_path(lp)
expect(out).to eq("true\ntrue")
end

context "with bundler is located in symlinked GEM_HOME" do
context "with bundler is located in symlinked GEM_HOME", :focus => true do
let(:gem_home) { Dir.mktmpdir }
let(:symlinked_gem_home) { Tempfile.new }
let(:bundler_dir) { File.expand_path("../..", __dir__) }
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -105,7 +105,7 @@ module Gem
config.filter_run_excluding :rubygems_master => (ENV["RGV"] != "master")
config.filter_run_excluding :bundler => LessThanProc.with(Bundler::VERSION.split(".")[0, 2].join("."))

config.filter_run_when_matching :focus unless ENV["CI"]
config.filter_run_when_matching :focus

original_wd = Dir.pwd
original_env = ENV.to_hash.delete_if {|k, _v| k.start_with?(Bundler::EnvironmentPreserver::BUNDLER_PREFIX) }
Expand Down

0 comments on commit b101433

Please sign in to comment.