aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d4ba66e..de9837d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,17 @@
image: node:9.1.0
services:
- postgres:10.0
+
cache:
untracked: true
+variables:
+ POSTGRES_DB: nice_marmot
+ POSTGRES_USER: runner
+ POSTGRES_PASSWORD: ""
+ POSTGRES_HOST: postgres
+
+
stages:
- build
- test
@@ -13,6 +21,10 @@ install:
script:
- npm install --global yarn
- yarn
+ - echo "hello world"
+configure:
+ stage: build
+ - yarn run:postgres
mocha:
stage: test