Commit 243fe1c2009516d3145eb53a7936762526ae6929

Authored by Cyril Mougel
1 parent eef21e81
Exists in master and in 1 other branch production

Add ruby-head to test on travis-ci

Avoid define the RUBY_VERSION in Gemfile if CI
Showing 2 changed files with 4 additions and 1 deletions   Show diff stats
.travis.yml
... ... @@ -5,11 +5,14 @@ rvm:
5 5 - 2.0.0
6 6 - 1.9.3
7 7 - rbx-19mode
  8 + - ruby-head
8 9 services: mongodb
9 10 #script: ./script/rspec-queue-mongoid.rb --format progress spec
10 11 matrix:
11 12 allow_failures:
12 13 - rvm: rbx-19mode
  14 + - rvm: ruby-head
  15 +
13 16  
14 17 # To stop Travis from running tests for a new commit,
15 18 # add the following to your commit message: [ci skip]
... ...
Gemfile
1 1 source 'https://rubygems.org'
2   -ruby (ENV['RUBY_VERSION'] || '2.0.0')
  2 +ruby (ENV['RUBY_VERSION'] || '2.0.0') unless ENV['CI']
3 3  
4 4 RAILS_VERSION = '~> 3.2.14'
5 5  
... ...