aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d89e2b56..62575c4f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,11 @@
rust_test:
image: "rust:1.26-stretch"
variables:
- TEST_DATABASE_URL: "postgres://postgres@localhost/fatcat_test"
+ POSTGRES_DB: "fatcat_test"
+ POSTGRES_USER: "fatcat_user"
+ POSTGRES_PASSWORD: "fatcat_pw"
+ DATABASE_URL: "postgres://fatcat_user:fatcat_pw:@localhost/fatcat_test"
+ TEST_DATABASE_URL: "postgres://fatcat_user:fatcat_pw:@localhost/fatcat_test"
services:
- "postgres:9.6"
before_script: