diff options
| author | Tom Harley | 2018-03-28 19:37:34 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-03-28 19:37:34 +0100 |
| commit | fd44d41a9b1a792acddf2f73a6ffcc8bab355697 (patch) | |
| tree | affc8f2a3db8921de2cd63eaa06fd525289d98ac /.gitlab-ci.yml | |
| parent | Fix some minor linting errors (diff) | |
| parent | Edit CI to lint all files and run all tests (diff) | |
| download | medicine-fd44d41a9b1a792acddf2f73a6ffcc8bab355697.tar.gz medicine-fd44d41a9b1a792acddf2f73a6ffcc8bab355697.zip | |
Merge branch ‘testing-middleware’ into development
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 |
