From 1d856cea13d0f9718cebcfed53f514dc7cb35fd3 Mon Sep 17 00:00:00 2001 From: Rada Bogdan Raul Date: Mon, 26 Sep 2016 12:24:00 +0300 Subject: [PATCH] travis --- .travis.yml | 24 ++++++++++++++---------- Appraisals | 8 +++----- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2dc5ac3..a47d548 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 + diff --git a/Appraisals b/Appraisals index 2858b67..d57ae2d 100644 --- a/Appraisals +++ b/Appraisals @@ -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