Skip to content
Browse files

let Travis CI spin up mongo for us

  • Loading branch information...
1 parent 664fa03 commit 76574381c3f6502af504d4bf63168cf49ca56222 @kornypoet kornypoet committed Feb 18, 2014
Showing with 10 additions and 8 deletions.
  1. +2 −0 .travis.yml
  2. +8 −8 Rakefile
View
2 .travis.yml
@@ -7,5 +7,7 @@ rvm:
bundler_args: --without docs support
+services: mongodb
+
notifications:
email: false
View
16 Rakefile
@@ -34,19 +34,19 @@ end
desc 'Run spec coverage with mongo'
task :mongo do
- with_background_process('mongod') do
- ENV['WITH_MONGO'] = 'true'
- Rake::Task[:spec].invoke
- end
+ # with_background_process('mongod') do
+ ENV['WITH_MONGO'] = 'true'
+ Rake::Task[:spec].invoke
+ # end
end
desc 'Run integration tests'
task :integration do
- with_background_process('mongod') do
- with_background_process('bin/vcd-server -e test', wait: 2) do
- Rake::Task[:features].invoke
- end
+ # with_background_process('mongod') do
+ with_background_process('bin/vcd-server -e test', wait: 2) do
+ Rake::Task[:features].invoke
end
+ # end
end
require 'cucumber/rake/task'

0 comments on commit 7657438

Please sign in to comment.
Something went wrong with that request. Please try again.