1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Lock mime-types < 3.0 when testing with ruby 1.9.3

This commit is contained in:
Thomas Walpole 2015-12-10 10:01:54 -08:00
parent 89ddd5b6e3
commit bad6d566f8
3 changed files with 12 additions and 2 deletions

View file

@ -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

View file

@ -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
gemfiles/Gemfile.ruby-19 Normal file
View file

@ -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'