1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-30 22:41:47 -05:00

Add code coverage

This commit is contained in:
Jack Foltz 2018-08-13 06:53:21 -04:00
parent 76f6bbbc0d
commit 93db3be23c
Signed by: foltik
GPG Key ID: 303F88F996E95541
2 changed files with 8 additions and 25 deletions

View File

@ -1,11 +1,15 @@
language: node_js language:
node_js
node_js: node_js:
- "node" - "node"
services: services:
- mongodb - mongodb
env:
global:
- NODE_ENV=travisci
cache: cache:
directories: directories:
- "node_modules" - "node_modules"
install:
- npm install -g codecov
- npm install -g istanbul
script:
- istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec
- codecov

View File

@ -1,21 +0,0 @@
{
"Server": {
"port": 8080,
"hostname": "http://localhost:8080"
},
"Database": {
"host": "mongodb://localhost:27017/shimapan"
},
"Upload": {
"path": "uploads"
},
"Log": {
"http": false
},
"User": {
"Password": {
"saltLength": 8,
"hashIterations": 1
}
}
}