Permalink
Browse files

use slimgems on travis

  • Loading branch information...
1 parent ff2b6c8 commit 09daf02e10c9496f5e01cad6ece53971139dc08b @kratob kratob committed Mar 18, 2013
Showing with 14 additions and 0 deletions.
  1. +1 −0 .travis.yml
  2. +12 −0 Rakefile
  3. +1 −0 spec/rspec1/Gemfile
View
@@ -3,6 +3,7 @@ rvm:
- "1.8.7"
- "1.9.3"
- ree
+before_script: rake travis_ci:prepare
script: rake all:bundle all:spec
notifications:
email:
View
@@ -5,6 +5,18 @@ require "bundler/gem_tasks"
desc 'Default: Run all specs.'
task :default => 'all:spec'
+namespace :travis_ci do
+
+ desc 'Things to do before Travis CI begins'
+ task :prepare => :slimgems
+
+ desc 'Install slimgems'
+ task :slimgems do
+ system('gem install slimgems')
+ end
+
+end
+
namespace :all do
desc "Run specs on all spec apps"
View
@@ -9,6 +9,7 @@ gem 'ruby-debug', :platforms => :ruby_18
gem 'debugger', :platforms => :ruby_19
gem 'rspec_candy', :path => '../..'
gem 'test-unit', '~>1.2', :platforms => :ruby_19
+gem 'hoe', '=2.8.0', :platforms => :ruby_19
group :state_machine do
gem 'state_machine'

0 comments on commit 09daf02

Please sign in to comment.