Merge branch 'rs-reset-db' into 'master'

Run db:reset before db:create on CI

Should prevent build failures caused by missing migrations, such as
https://gitlab.com/gitlab-org/gitlab-ce/builds/439927

See merge request !2045
This commit is contained in:
Kamil Trzciński 2015-12-10 09:50:21 +00:00
commit bdc62d704c
1 changed files with 1 additions and 1 deletions

View File

@ -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: