diff options
| author | Alban Peignier | 2017-09-13 13:56:35 +0200 |
|---|---|---|
| committer | Alban Peignier | 2017-09-13 13:56:41 +0200 |
| commit | 6f29e408e8d5a9c1dbd990059a11d4dc17b902b8 (patch) | |
| tree | 9a6362a4918f0e4e6d628f4c261e23ebc4c547d6 | |
| parent | 900efccf1ef8778807b7ef6c373b3ea346db830d (diff) | |
| download | chouette-core-6f29e408e8d5a9c1dbd990059a11d4dc17b902b8.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 90e47560e..ca70d1821 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 |
