Skip to content

Commit

Permalink
Add ruby-head to test on travis-ci
Browse files Browse the repository at this point in the history
Avoid define the RUBY_VERSION in Gemfile if CI
  • Loading branch information
shingara committed Oct 14, 2013
1 parent eef21e8 commit 243fe1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ rvm:
- 2.0.0
- 1.9.3
- rbx-19mode
- ruby-head
services: mongodb
#script: ./script/rspec-queue-mongoid.rb --format progress spec
matrix:
allow_failures:
- rvm: rbx-19mode
- rvm: ruby-head


# To stop Travis from running tests for a new commit,
# add the following to your commit message: [ci skip]
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'
ruby (ENV['RUBY_VERSION'] || '2.0.0')
ruby (ENV['RUBY_VERSION'] || '2.0.0') unless ENV['CI']

RAILS_VERSION = '~> 3.2.14'

Expand Down

0 comments on commit 243fe1c

Please sign in to comment.