diff options
author | Stan Hu <stanhu@gmail.com> | 2016-04-21 19:01:23 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-04-21 19:01:23 +0000 |
commit | 73fcee95d7d127739eed0884fea49972b5464e7b (patch) | |
tree | d92d57e4869e1eaf40d72ff5af347e2f8010ee63 | |
parent | ad63343417bd7b570b3ba821257782ab870282ea (diff) | |
parent | ac08a9f1e12e17a4f9fb94ca8a7b3fb6dbe348f0 (diff) | |
download | gitlab-ce-73fcee95d7d127739eed0884fea49972b5464e7b.tar.gz |
Merge branch 'test-db-migrate' into 'master'
Add db:migrate:reset task to CI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
cc @DouweM @stanhu
See merge request !3788
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1dc49ca336d..85730e1b687 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,6 +115,11 @@ bundler:audit: script: - "bundle exec bundle-audit check --update --ignore OSVDB-115941" +db-migrate-reset: + stage: test + script: + - RAILS_ENV=test bundle exec rake db:migrate:reset + # Ruby 2.2 jobs spec:feature:ruby22: |