This commit is contained in:
Jonathan Cremin 2016-05-24 00:02:35 +01:00
parent f9210edfc6
commit b3479983aa

30
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,30 @@
image: node:6
services:
- mongo
stages:
- seed
- test
seed:
stage: seed
image: mongo
script:
- mongo --host mongo hostr test/fixtures/mongo-user.js test/fixtures/mongo-file.js
tags:
- docker
test:
stage: test
before_script:
- npm install
script:
- npm test
tags:
- docker
cache:
key: "$CI_BUILD_REF_NAME"
untracked: true
paths:
- node_modules