Skip to content

Instantly share code, notes, and snippets.

@azl397985856
Created March 16, 2020 07:57
Show Gist options
  • Save azl397985856/bd99f18f3ce52eb8326be7f953e83e85 to your computer and use it in GitHub Desktop.
Save azl397985856/bd99f18f3ce52eb8326be7f953e83e85 to your computer and use it in GitHub Desktop.
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
@azl397985856
Copy link
Author

@azl397985856
Copy link
Author

azl397985856 commented Mar 16, 2020

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