Skip to content

Commit

Permalink
Lock mime-types < 3.0 when testing with ruby 1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Dec 10, 2015
1 parent 89ddd5b commit bad6d56
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
language: ruby
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- jruby-9.0.3.0
- rbx-2
gemfile:
- Gemfile
matrix:
include:
- gemfile: gemfiles/Gemfile.ruby-19
rvm: 1.9.3
- gemfile: gemfiles/Gemfile.ruby-19
rvm: jruby-19mode
- gemfile: gemfiles/Gemfile.base-versions
rvm: 1.9.3
- gemfile: gemfiles/Gemfile.beta-versions
Expand Down
1 change: 1 addition & 0 deletions gemfiles/Gemfile.base-versions
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ gem 'nokogiri', '= 1.3.3'
gem 'rspec', '= 2.2.0'
gem 'cucumber', '= 0.10.5'
gem 'tins', '= 1.6.0' # 1.7.0 requires ruby 2.0
gem 'mime-types', '<3.0' # 3.0 require ruby 2.0
# We cannot test against older versions of selenium-webdriver without
# installing older compatible Firefox versions.
7 changes: 7 additions & 0 deletions gemfiles/Gemfile.ruby-19
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gem 'bundler', '~> 1.1'
gemspec path: '..'

gem 'mime-types', '< 3.0'
gem 'xpath', :git => 'git://github.com/jnicklas/xpath.git'

0 comments on commit bad6d56

Please sign in to comment.