Testing Gitlab CI runner
This commit is contained in:
parent
edf055f67d
commit
fff7207903
1 changed files with 19 additions and 0 deletions
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
image: node:6-slim
|
||||
services:
|
||||
- mongo
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- npm test
|
||||
tags:
|
||||
- docker
|
||||
|
||||
cache:
|
||||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- node_modules
|
Loading…
Add table
Add a link
Reference in a new issue