Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanRada committed Sep 26, 2016
1 parent 007f2c2 commit 1d856ce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
24 changes: 14 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
language: ruby
sudo: false

cache: bundler

bundler_args: --no-deployment --binstubs=./bin

before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- gem install bundler
bundler_args: "--no-deployment"
- gem update bundler

install:
- bundle install --path vendor/bundle

script:
- echo $BUNDLE_GEMFILE
- bundle exec rake

gemfile:
- gemfiles/rails_4.0.0.gemfile
- gemfiles/rails_4.1.1.gemfile
- gemfiles/rails_4.2.0.gemfile
- gemfiles/rails_5.0.0.gemfile
rvm:
- 2.0.0
- 2.1.5
- 2.2.3
- 2.2.2
- 2.2.5
- 2.3.1
matrix:
exclude:
- rvm: 2.0.0
gemfile: gemfiles/rails_5.0.0.gemfile
- rvm: 2.1.5
gemfile: gemfiles/rails_5.0.0.gemfile
notifications:
email: false

8 changes: 3 additions & 5 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ appraise "rails-4.2.0" do
gem "rails", "4.2.0"
end

if RUBY_VERSION >= "2.2.0"
appraise "rails-5.0.0" do
gem "rails", "5.0.0"
gem 'rails-controller-testing'
end
appraise "rails-5.0.0" do
gem "rails", "5.0.0"
gem 'rails-controller-testing'
end

0 comments on commit 1d856ce

Please sign in to comment.