summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-09 13:35:20 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-12-09 13:35:20 -0500
commit86aa535562ea627ccea93bcdf7e63468a4a148bf (patch)
treeeafdddcf97b24ec564953aff97d18be86fdee2bf /.gitlab-ci.yml
parentcfe46f485da6e45ddb9f64d471b92892579dd9b7 (diff)
downloadgitlab-ce-86aa535562ea627ccea93bcdf7e63468a4a148bf.tar.gz
Run db:reset before db:create on CIrs-reset-db
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 39d8f59cf07..c614e14e243 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ before_script:
- touch log/application.log
- touch log/test.log
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
- - bundle exec rake db:create RAILS_ENV=test
+ - bundle exec rake db:reset db:create RAILS_ENV=test
spec:feature:
script: