aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjw2552018-03-07 12:12:19 +0000
committerjw2552018-03-07 12:12:19 +0000
commit14bfd7185477b1d14f2d8e1a20fb88211de31412 (patch)
tree10da1b8e668d55766f629cba3e3bdb9484030de8
parentlets see if postgres wants to run on gitlab (diff)
downloadmedicine-14bfd7185477b1d14f2d8e1a20fb88211de31412.tar.gz
medicine-14bfd7185477b1d14f2d8e1a20fb88211de31412.zip

maybe now?

-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