-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds more ruby versions to Travis (#54)
This does not promise that we will support 1.9.3 in all current or future releases. 1.9.3 is dead and you should upgrade to a supported Ruby release. - This PR switches webmock versions depending on your ruby version and disables rubocop entirely - We just ensure that tests are passing in 1.9.3, but cannot guarantee everything will work smoothly
- Loading branch information
Showing
4 changed files
with
53 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,10 +1,26 @@ | ||
language: ruby | ||
rvm: | ||
- "2.1.10" | ||
- "2.2.6" | ||
- "2.3.3" | ||
- "2.4.0" | ||
# List is from https://www.ruby-lang.org/en/downloads/branches/ | ||
# Merged with whatever is the top of each branch at https://www.ruby-lang.org/en/downloads/releases/ | ||
matrix: | ||
include: | ||
- rvm: "1.9.3" | ||
- rvm: "2.0.0" | ||
- rvm: "2.1.10" | ||
- rvm: "2.2.9" | ||
- rvm: "2.3.6" | ||
- rvm: "2.4.2" | ||
- rvm: "2.5.0" | ||
- rvm: "2.5.0" | ||
env: LINT=rubocop | ||
allow_failures: | ||
# These are EOL versions of ruby | ||
- rvm: "1.9.3" | ||
- rvm: "2.0.0" | ||
- rvm: "2.1.10" | ||
before_install: gem update --system | ||
script: | ||
- bundle exec rake test | ||
- bundle exec rake rubocop | ||
- | | ||
if [[ "$LINT" == "rubocop" ]] ; then | ||
bundle exec rake rubocop | ||
fi |
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
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