From a3f98ec5ef9ca635cc481590bb103396eb36e4ba Mon Sep 17 00:00:00 2001 From: Mauricio Giacomini Girardello <mgg12@inf.ufpr.br> Date: Tue, 15 Mar 2016 11:30:27 -0300 Subject: [PATCH] testing gitlab-ci --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 108bee360..63b15f69c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,14 +10,15 @@ variables: connect: #image: postgres script: + - apt-get install default-jre postgresql-client -y # official way to provide password to psql: http://www.postgresql.org/docs/9.3/static/libpq-envars.html - export PGPASSWORD=$POSTGRES_PASSWORD - psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;" -#before_script: +before_script: # - apt-get update -y -# - apt-get install default-jre postgresql-client -y + - apt-get install default-jre postgresql-client -y # - gem install bundler # - bundle install --jobs $(nproc) --path=/cache/bundler # - bundle exec rake db:create -- GitLab