Skip to content

Commit

Permalink
Add Gemfile-ruby-2.0 for Ruby 2.0 on Travis CI
Browse files Browse the repository at this point in the history
Pin Nokogiri to version 1.6.x for Ruby 2.0, since Nokogiri 1.7.x requires Ruby 2.1 or higher.
  • Loading branch information
sodabrew committed Jan 4, 2017
1 parent 36023e9 commit 766639c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ matrix:
- rvm: 1.9.3
gemfile: gemfiles/Gemfile-ruby-1.9
- rvm: 2.0.0
gemfile: Gemfile
gemfile: gemfiles/Gemfile-ruby-2.0
- rvm: 2.1.0
gemfile: Gemfile
- rvm: 2.1.1
Expand Down Expand Up @@ -51,4 +51,4 @@ env:
global:
secure: LlDKdKSRo3sEjQ55XesbOXhKZ3RrOtqoD1ZL8Wx39K3iVzeEV3Kc8HjDfEvo7R4pOc3BMTNJcputklVEPN0FkWGN7Py+OEtbHj3IZl0MX+KEWNk0gU+4+sgPrL1eXUQyMUSkCrBsKg08rPel4KMYUOXbtnLyUU9PDbBwm4LJYOc=
after_success:
- bundle exec codeclimate-test-reporter
- bundle exec codeclimate-test-reporter
7 changes: 7 additions & 0 deletions gemfiles/Gemfile-ruby-2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

source "https://rubygems.org"

gem 'mime-types', '~> 3.1'
gem 'nokogiri', '~> 1.6.8'

gemspec :path => "../"

0 comments on commit 766639c

Please sign in to comment.