Permalink
Browse files

fix travis duplicate db creation

  • Loading branch information...
liufengyun committed Jan 4, 2012
1 parent 35caaea commit 34e4a7934c7a12fe6a6d71c88e4c4506dc0a54b2
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
View
@@ -8,10 +8,10 @@ branches:
only:
- master
- dev
-script: "bundle exec rake db:drop db:create db:schema:load spec test"
+script: "bundle exec spec test"
before_script:
- "cp .travis/database.yml config/database.yml"
- "cp config/environment.local.example config/environment.local.rb"
- "cp .travis/.rspec .rspec"
- - "RAILS_ENV=test bundle exec rake db:create db:schema:load --trace"
+ - "RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load --trace"
bundler_args: "--without development"

0 comments on commit 34e4a79

Please sign in to comment.