Commit a97f8e194ff0d9c2b83e95f679021087ad719f41
1 parent
bfa27a7b
Exists in
master
and in
21 other branches
CI: fix gitlab build configuration
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
.gitlab-ci.yml
| 1 | -before_install: | |
| 1 | +before_script: | |
| 2 | 2 | - mkdir -p tmp/pids log |
| 3 | 3 | - script/noosfero-plugins disableall |
| 4 | 4 | - bundle check || bundle install |
| 5 | 5 | # database |
| 6 | 6 | - cp config/database.yml.gitlab-ci config/database.yml |
| 7 | - - dropdb gitlab_ci_test | |
| 8 | - - createdb gitlab_ci_test | |
| 7 | + - createdb gitlab_ci_test || true | |
| 9 | 8 | - bundle exec rake db:schema:load |
| 10 | 9 | - bundle exec rake db:migrate |
| 11 | 10 | ... | ... |