diff --git a/.travis.yml b/.travis.yml index f7a40167..5e7d8cc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,6 @@ rvm: - 1.9.3 - 1.9.2 - rbx -script: "rake spec" +script: bundle exec rake spec +cache: bundler +bundler_args: --without cucumber diff --git a/Gemfile b/Gemfile index d9493f9f..8b274d5d 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,12 @@ source 'https://rubygems.org' # Specify your gem's dependencies in capistrano.gemspec gemspec + +group :cucumber do + gem 'kuroko' + gem 'cucumber' +end + +platforms :rbx do + gem 'rubysl', '~> 2.0' +end diff --git a/capistrano.gemspec b/capistrano.gemspec index 09e487b2..4558e1d4 100644 --- a/capistrano.gemspec +++ b/capistrano.gemspec @@ -31,7 +31,4 @@ eos gem.add_development_dependency 'rspec' gem.add_development_dependency 'mocha' - gem.add_development_dependency 'kuroko' - gem.add_development_dependency 'cucumber' - end