From 13eeb12b6c9cc21c54ec77cdfa95576e9793f2fc Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 8 Dec 2015 18:47:55 -0200 Subject: [PATCH] .gitlab-ci.yml: use published docker image --- .gitlab-ci.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e6a648..f183414 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,8 @@ +image: noosfero/ci + before_script: - - mkdir -p tmp/{pids,cache} log - - bundle check || bundle install -# workaround for plugins with Gemfile - - perl -pi -e 's/--local //' script/noosfero-plugins - - script/noosfero-plugins disableall - - bundle exec rake makemo &>/dev/null -# database - - cp config/database.yml.gitlab-ci config/database.yml - - createdb gitlab_ci_test || true - - bundle exec rake db:schema:load &>/dev/null - - bundle exec rake db:migrate &>/dev/null + - mkdir -p locale # makes quick-start skip compiling translations + - ./script/silent-quick-start units: script: bundle exec rake test:units -- libgit2 0.21.2