diff options
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdf3960..5d53e9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,20 +1,12 @@ image: node:9.1.0 -services: - - postgres:10.0 cache: untracked: true -variables: - POSTGRES_DB: nice_marmot - POSTGRES_USER: admin - POSTGRES_PASSWORD: "" - POSTGRES_HOST: postgres - - stages: - build - test + - lint install: stage: build @@ -22,12 +14,17 @@ install: - npm install --global yarn - yarn -mocha: +unit-test: stage: test script: - - yarn test:routes:index + - yarn test:unit -lint: +route-test: stage: test script: - - yarn run _gl-lint + - yarn test:routes + +lint: + stage: lint + script: + - yarn _lint |
