summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 15:52:51 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 15:52:51 -0800
commit413968810ce470aded05e0d3519601ae6922c284 (patch)
tree5954bd6edc9e7b2902cae8f6fbd3ebd497626a21
parent9aef7507e18567c96b373436a894242f65af7c70 (diff)
downloadfatcat-413968810ce470aded05e0d3519601ae6922c284.tar.gz
fatcat-413968810ce470aded05e0d3519601ae6922c284.zip
have rust rests use env.example (not CI-specific vars)
-rw-r--r--.gitlab-ci.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f90a20e..ffd2947f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,9 +9,6 @@ unified_test:
POSTGRES_PASSWORD: "fatcat_pw"
DATABASE_URL: "postgres://fatcat_user:fatcat_pw@postgres/fatcat_test"
TEST_DATABASE_URL: "postgres://fatcat_user:fatcat_pw@postgres/fatcat_test"
- AUTH_LOCATION: "dev.fatcat.wiki"
- AUTH_KEY_IDENT: "2018-12-31-dev"
- AUTH_SECRET_KEY: "VQe8kdn8laZ3MArKAzOeWWNUQgM6IjduG2jwKnSWehQ="
services:
- "postgres:11"
before_script:
@@ -23,6 +20,7 @@ unified_test:
script:
- rustc --version && cargo --version && diesel --version
- cd rust
+ - cp env.example .env
- diesel database reset && diesel migration run
- cargo build
- cargo test -- --test-threads 1