diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-04-18 15:32:26 +0200 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-04-21 10:52:25 -0700 |
commit | ac08a9f1e12e17a4f9fb94ca8a7b3fb6dbe348f0 (patch) | |
tree | 8abf9657b7cf79a04a0c111234e2ad6f2ccf1013 /.gitlab-ci.yml | |
parent | 0ae039d0a1da83d6e9b4cc4ffa20279ed9928a80 (diff) | |
download | gitlab-ce-ac08a9f1e12e17a4f9fb94ca8a7b3fb6dbe348f0.tar.gz |
Add db:migrate task to CI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to '.gitlab-ci.yml')
-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: |