Update tests for gitlab
This commit is contained in:
parent
b3479983aa
commit
13400ea4d3
5 changed files with 33 additions and 24 deletions
|
@ -3,21 +3,14 @@ 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
|
||||
- jspm install
|
||||
- node test/fixtures/mongo-user.js test/fixtures/mongo-file.js
|
||||
script:
|
||||
- npm test
|
||||
tags:
|
||||
|
@ -27,4 +20,5 @@ cache:
|
|||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- node_modules
|
||||
- node_modules
|
||||
- web/public/jspm_packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue