Permalink
Browse files

include sinatra and rdoc-rouge master tests in matrix

  • Loading branch information...
1 parent 2fceecd commit c05ce95da623d52e7ac017d65d4ea90780b0d962 @zzak committed Mar 24, 2013
Showing with 23 additions and 0 deletions.
  1. +9 −0 .travis.yml
  2. +14 −0 Gemfile
View
@@ -10,6 +10,15 @@ rvm:
matrix:
allow_failures:
- rvm: rbx-19mode
+ include:
+ - { rvm: 1.9.3, env: sinatra=master }
+ - { rvm: 1.9.3, env: rdoc-rouge=master }
+ - { rvm: 2.0.0, env: sinatra=master }
+ - { rvm: 2.0.0, env: rdoc-rouge=master }
+ - { rvm: ruby-head, env: sinatra=master }
+ - { rvm: ruby-head, env: rdoc-rouge=master }
+ - { rvm: jruby-head, env: sinatra=master }
+ - { rvm: jruby-head, env: rdoc-rouge=master }
notifications:
recipients:
- zachary@zacharyscott.net
View
14 Gemfile
@@ -1,3 +1,17 @@
source "http://rubygems.org"
gemspec
+
+# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
+# Used by the CI.
+github = "git://github.com/%s.git"
+repos = {'sinatra' => github % "sinatra/sinatra", 'rdoc-rouge' => github % "zzak/rdoc-rouge"}
+
+%w[sinatra rdoc-rouge].each do |lib|
+ dep = case ENV[lib]
+ when 'stable', nil then nil
+ when /(\d+\.)+\d+/ then "~> " + ENV[lib].sub("#{lib}-", '')
+ else {:git => repos[lib], :branch => dep}
+ end
+ gem lib, dep
+end

0 comments on commit c05ce95

Please sign in to comment.