From 766639c49dadbbe89d59cb8ffabfdd5199b0730a Mon Sep 17 00:00:00 2001 From: Aaron Stone Date: Wed, 4 Jan 2017 00:02:19 -0800 Subject: [PATCH] Add Gemfile-ruby-2.0 for Ruby 2.0 on Travis CI Pin Nokogiri to version 1.6.x for Ruby 2.0, since Nokogiri 1.7.x requires Ruby 2.1 or higher. --- .travis.yml | 4 ++-- gemfiles/Gemfile-ruby-2.0 | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 gemfiles/Gemfile-ruby-2.0 diff --git a/.travis.yml b/.travis.yml index 29a99224e..2f36cf41a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -51,4 +51,4 @@ env: global: secure: LlDKdKSRo3sEjQ55XesbOXhKZ3RrOtqoD1ZL8Wx39K3iVzeEV3Kc8HjDfEvo7R4pOc3BMTNJcputklVEPN0FkWGN7Py+OEtbHj3IZl0MX+KEWNk0gU+4+sgPrL1eXUQyMUSkCrBsKg08rPel4KMYUOXbtnLyUU9PDbBwm4LJYOc= after_success: - - bundle exec codeclimate-test-reporter \ No newline at end of file + - bundle exec codeclimate-test-reporter diff --git a/gemfiles/Gemfile-ruby-2.0 b/gemfiles/Gemfile-ruby-2.0 new file mode 100644 index 000000000..50ccab0dc --- /dev/null +++ b/gemfiles/Gemfile-ruby-2.0 @@ -0,0 +1,7 @@ + +source "https://rubygems.org" + +gem 'mime-types', '~> 3.1' +gem 'nokogiri', '~> 1.6.8' + +gemspec :path => "../"