From 368248f44bcd3b67c04c6e9f654bffcf630b71ec Mon Sep 17 00:00:00 2001 From: Mauricio Giacomini Girardello <mgg12@inf.ufpr.br> Date: Mon, 14 Mar 2016 11:36:50 -0300 Subject: [PATCH] testing gitlab-ci --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e6272ab45..0aa3f1304 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,14 @@ +variables: + # Configure postgres service (https://hub.docker.com/_/postgres/) + POSTGRES_DB: custom_db + POSTGRES_USER: custom_user + POSTGRES_PASSWORD: custom_pass + before_script: - gem install bundler - bundle install --jobs $(nproc) --path=/cache/bundler + - unlink config/database.yml + - cp config/database.yml.gitlab config/database.yml - bundle exec rake db:create test: -- GitLab