Merge pull request #238 from charlotte-ruby/green-builds

Green builds
This commit is contained in:
Jonas Grau 2017-04-28 08:20:39 +02:00 committed by GitHub
commit 800c24ec64
5 changed files with 14 additions and 3 deletions

View File

@ -1,12 +1,19 @@
language: ruby
before_install:
- gem install bundler
before_script:
- cd tests/test_app
- bundle exec rails g impressionist -f
- bundle exec rake db:create db:migrate RAILS_ENV=test
- cd ..
script:
- bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- jruby-head
- rbx
- ruby-head

View File

@ -1,6 +1,6 @@
source 'https://rubygems.org'
gem 'rake', '>= 0.9'
gem 'rake', '>= 0.9', '< 11.0'
gem 'rdoc', '>= 2.4.2'
platforms :jruby do
@ -14,6 +14,7 @@ platforms :ruby, :mswin, :mingw do
end
group :test do
gem 'public_suffix', '< 1.5.0'
gem 'capybara', '>= 2.0.3'
gem 'minitest'
gem 'minitest-rails'

View File

@ -1,6 +1,6 @@
source 'https://rubygems.org'
gem 'rake', '>= 0.9'
gem 'rake', '>= 0.9', '< 11.0'
gem 'rdoc', '>= 2.4.2'
platforms :jruby do
@ -14,6 +14,7 @@ platforms :ruby, :mswin, :mingw do
end
group :test do
gem 'public_suffix', '< 1.5.0'
gem 'capybara', '>= 2.0.3'
gem 'minitest'
gem 'minitest-rails'

View File

@ -18,6 +18,6 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
s.add_dependency 'nokogiri', '~> 1.6'
s.add_dependency 'nokogiri', RUBY_VERSION < '2.1.0' ? '~> 1.6.0' : '~> 1'
s.add_development_dependency 'bundler', '~> 1.0'
end

View File

@ -1,6 +1,8 @@
source 'https://rubygems.org'
gem 'rails', '~> 3.2'
gem 'rake', '< 11.0'
gem 'public_suffix', '< 1.5.0'
gem 'impressionist', :path => '../../'