Skip to content

Commit

Permalink
Use Gemfile in Travis runs
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Mar 14, 2012
1 parent 8180888 commit 13eac64
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
before_script:
- gem install cutest
- gem install hiredis

language: ruby

rvm:
Expand All @@ -11,6 +7,8 @@ rvm:
- jruby-18mode
- jruby-19mode

gemfile: .travis/Gemfile

notifications:
irc:
- irc.freenode.net#redis-rb
Expand Down
12 changes: 12 additions & 0 deletions .travis/Gemfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions redis.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.