summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-18 22:43:04 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-19 00:12:30 -0200
commitbddef293d666c4b3933b93b017ae49bdf18b234f (patch)
tree7bd9f84b31c648816609b5585a12f7e333eab864 /.gitlab-ci.yml
parent1d5f96cf971d44a3c0f6ca650c755f820bfd74bb (diff)
downloadgitlab-ce-bddef293d666c4b3933b93b017ae49bdf18b234f.tar.gz
Ensure that doesn't have pending migrations when running the specs
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c23a7a3bf0e..ac8390074f4 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:reset db:create RAILS_ENV=test
+ - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate
spec:feature:
script:
@@ -118,7 +118,7 @@ flay:
- mysql
bundler:audit:
- script:
+ script:
- "bundle exec bundle-audit update"
- "bundle exec bundle-audit check"
tags: