-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use #is_a_path? conditionally on Bundler version (#19)
* Use #is_a_path? conditionally on Bundler version * Use Bundler::VERSION * Update setting Bundler to frozen with #set_local * Force travis to install with correct Bundler version * Resolve rubocop offenses * Verify bundler version is not greater than 1.14.0 in travis * Print the version * Override install properly * Overwrite script as well * Force uninstall of bundler as suggestion in link https://stackoverflow.com/questions/26481650/travis-could-not-find-bundler-1-7-4 * try moving it to before_install * Try another tactic found on this travis-ci issue travis-ci/travis-ci#8717 (comment) * Turn condition in Gemfile into Bundler version log * Create build matrix with multiple Ruby & Bundler versions * Remove logging that creates test failures * Fix wrong bundler version * Add 2 more Bundler versions * Use matrix of 1 Ruby & 2 Bundler versions * Use Gem::Version to compare Bundler versions * Use #respond_to? instead of looking at Bundler * Remove duplication from #path?
- Loading branch information
1 parent
c09e175
commit 81014fa
Showing
3 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
sudo: true | ||
language: ruby | ||
rvm: | ||
- 2.3.1 | ||
before_install: | ||
- gem install bundler -v 1.13.6 | ||
- "find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete" | ||
- gem install bundler:"$BUNDLER_VERSION" | ||
- sudo apt-get -qq install graphviz | ||
rvm: | ||
- 2.5.1 | ||
env: | ||
- BUNDLER_VERSION=1.15.4 | ||
- BUNDLER_VERSION=1.16.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters