faster build.

Test only supported version of rails.
Test in Rails 5.0
This commit is contained in:
Abdelkader Boudih 2016-08-18 08:04:17 +01:00
parent cf44195b88
commit 23d52bd3e9
5 changed files with 14 additions and 13 deletions

View File

@ -1,19 +1,21 @@
language: ruby
sudo: false
rvm:
- 2.3.0
- 2.2
- 2.3.1
- 2.2.5
- 2.0.0
- 2.1
- jruby-9000
- jruby-9.0.5.0
env:
- RAILS_VERSION="~>4.0.0"
- RAILS_VERSION="~>4.1.0"
- RAILS_VERSION="~>4.2.0"
script: "bundle exec rake spec:all"
before_install:
- sudo apt-get update
- sudo apt-get install idn
- gem update bundler
- RAILS_VERSION="~>5.0.0"
matrix:
exclude:
- env: RAILS_VERSION="~>5.0.0"
rvm: 2.0.0
- env: RAILS_VERSION="~>5.0.0"
rvm: 2.1
before_install: gem install bundler
notifications:
email:
recipients:

View File

@ -19,7 +19,6 @@ group :development do
gem 'google-id-token', '~> 1.3'
gem 'os', '~> 0.9'
gem 'rmail', '~> 1.1'
gem 'sinatra', '~> 1.4'
gem 'redis', '~> 3.2'
end

View File

@ -1,2 +1,3 @@
require "bundler/gem_tasks"
task default: :spec

View File

@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'googleauth', '~> 0.5'
spec.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
spec.add_development_dependency 'thor', '~> 0.14'
spec.add_development_dependency 'activesupport', '>= 3.2', '< 5.0'
spec.add_development_dependency 'activesupport', '>= 4.2', '< 5.1'
end

View File

@ -2,6 +2,5 @@ source 'https://rubygems.org'
gem 'google-api-client', '~> 0.9'
gem 'google-id-token', '~> 1.3'
gem 'sinatra', '~> 1.4'
gem 'redis', '~> 3.2'
gem 'dotenv'