Created
March 16, 2020 07:57
-
-
Save azl397985856/bd99f18f3ce52eb8326be7f953e83e85 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: node:4.2.2 | |
cache: | |
paths: | |
- node_modules/ | |
stages: | |
- test | |
test_async: | |
stage: test | |
script: | |
- npm install | |
- node ./specs/start.js ./specs/async.spec.js | |
tags: | |
- docker | |
test_db: | |
stage: test | |
services: | |
- postgres:9.5.0 | |
script: | |
- npm install | |
- node ./specs/start.js ./specs/db-postgres.spec.js | |
tags: | |
- docker |
how to setup gitlab runner, please visite(Chinese) https://blog.csdn.net/frankcheng5143/article/details/79838414
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see also: https://gitlab.com/gitlab-examples/nodejs/-/blob/master/.gitlab-ci.yml