Commit a97f8e194ff0d9c2b83e95f679021087ad719f41
1 parent
bfa27a7b
Exists in
master
and in
29 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 | - mkdir -p tmp/pids log | 2 | - mkdir -p tmp/pids log |
3 | - script/noosfero-plugins disableall | 3 | - script/noosfero-plugins disableall |
4 | - bundle check || bundle install | 4 | - bundle check || bundle install |
5 | # database | 5 | # database |
6 | - cp config/database.yml.gitlab-ci config/database.yml | 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 | - bundle exec rake db:schema:load | 8 | - bundle exec rake db:schema:load |
10 | - bundle exec rake db:migrate | 9 | - bundle exec rake db:migrate |
11 | 10 |
config/database.yml.gitlab-ci