Commit 13eeb12b6c9cc21c54ec77cdfa95576e9793f2fc
1 parent
2ea43bfd
Exists in
master
and in
9 other branches
.gitlab-ci.yml: use published docker image
Showing
1 changed file
with
4 additions
and
11 deletions
Show diff stats
.gitlab-ci.yml
1 | +image: noosfero/ci | ||
2 | + | ||
1 | before_script: | 3 | before_script: |
2 | - - mkdir -p tmp/{pids,cache} log | ||
3 | - - bundle check || bundle install | ||
4 | -# workaround for plugins with Gemfile | ||
5 | - - perl -pi -e 's/--local //' script/noosfero-plugins | ||
6 | - - script/noosfero-plugins disableall | ||
7 | - - bundle exec rake makemo &>/dev/null | ||
8 | -# database | ||
9 | - - cp config/database.yml.gitlab-ci config/database.yml | ||
10 | - - createdb gitlab_ci_test || true | ||
11 | - - bundle exec rake db:schema:load &>/dev/null | ||
12 | - - bundle exec rake db:migrate &>/dev/null | 4 | + - mkdir -p locale # makes quick-start skip compiling translations |
5 | + - ./script/silent-quick-start | ||
13 | 6 | ||
14 | units: | 7 | units: |
15 | script: bundle exec rake test:units | 8 | script: bundle exec rake test:units |