diff options
| author | Alban Peignier | 2017-09-13 13:56:35 +0200 |
|---|---|---|
| committer | Alban Peignier | 2017-09-13 16:20:52 +0200 |
| commit | a26a41e37435d87c02d8aad517b71668acfd7511 (patch) | |
| tree | 4fa7bed0909f3f99596a0b6572a2913e98b2a1b0 | |
| parent | 9f752f050b8dd5bdb63d6abb2d8b9a49d6e8ae78 (diff) | |
| download | chouette-core-a26a41e37435d87c02d8aad517b71668acfd7511.tar.bz2 | |
Drop, create and migrate database in ci. Refs #4468
| -rw-r--r-- | lib/tasks/ci.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index e6fdee309..72459d614 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -2,7 +2,7 @@ namespace :ci do desc "Prepare CI build" task :setup do cp "config/database/jenkins.yml", "config/database.yml" - sh "RAILS_ENV=test rake db:migrate" + sh "RAILS_ENV=test rake db:drop d:create db:migrate" sh "npm --production --no-progress install" end |
