Skip to content
Snippets Groups Projects
Commit b09e7a4c authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

testing gitlab-ci

parent 53e55d74
No related branches found
No related tags found
No related merge requests found
services:
- postgres
tags:
- ruby
- postgres
- elasticsearch
- redis
variables:
POSTGRES_DB: portalmec_test
......@@ -14,10 +9,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;"
- 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;"
tags:
- ruby
- postgres
- elasticsearch
- redis
#before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment