Browse files

Use Gemfile in Travis runs

  • Loading branch information...
1 parent 8180888 commit 13eac643b7ebdf29618a03133541a22090c28005 @pietern pietern committed Mar 13, 2012
Showing with 14 additions and 6 deletions.
  1. +2 −4 .travis.yml
  2. +12 −0 .travis/Gemfile
  3. +0 −2 redis.gemspec
View
6 .travis.yml
@@ -1,7 +1,3 @@
-before_script:
- - gem install cutest
- - gem install hiredis
-
language: ruby
rvm:
@@ -11,6 +7,8 @@ rvm:
- jruby-18mode
- jruby-19mode
+gemfile: .travis/Gemfile
+
notifications:
irc:
- irc.freenode.net#redis-rb
View
12 .travis/Gemfile
@@ -0,0 +1,12 @@
+source "https://rubygems.org"
+
+gemspec :path => "../"
+
+gem "cutest"
+
+case ENV["REDIS_CONNECTION_DRIVER"]
+when "hiredis"
+ gem "hiredis"
+when "synchrony"
+ gem "em-synchrony"
+end
View
2 redis.gemspec
@@ -38,6 +38,4 @@ Gem::Specification.new do |s|
s.add_development_dependency("rake")
s.add_development_dependency("cutest")
- s.add_development_dependency("hiredis")
- s.add_development_dependency("em-synchrony")
end

0 comments on commit 13eac64

Please sign in to comment.