Permalink
Browse files

Also run the integration spec when running rake spec, but exclude it …

…from Travis.
  • Loading branch information...
alloy committed Feb 25, 2012
1 parent ffbf18f commit 04a4c425dc21ef9052fea9021254a1c5c279c5e6
Showing with 4 additions and 2 deletions.
  1. +4 −2 Rakefile
View
@@ -72,7 +72,7 @@ namespace :spec do
end
task :all => "ext:cleanbuild" do
- sh "bacon spec/**/*_spec.rb"
+ sh "bacon #{FileList['spec/**/*_spec.rb'].join(' ')}"
end
desc "Run all specs and build all examples"
@@ -83,7 +83,9 @@ namespace :spec do
# For now we don't run the intgration spec, but it should be cleaned up so it can run on Travis.
desc "Run the travis CI specs"
- task :travis => :all
+ task :travis => "ext:cleanbuild" do
+ sh "bacon #{FileList['spec/{functional,unit}/**/*_spec.rb'].join(' ')}"
+ end
desc "Rebuild all the fixture tarballs"
task :rebuild_fixture_tarballs do

0 comments on commit 04a4c42

Please sign in to comment.