mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-30 14:31:42 -05:00
Add code coverage
This commit is contained in:
parent
76f6bbbc0d
commit
93db3be23c
12
.travis.yml
12
.travis.yml
@ -1,11 +1,15 @@
|
||||
language: node_js
|
||||
language:
|
||||
node_js
|
||||
node_js:
|
||||
- "node"
|
||||
services:
|
||||
- mongodb
|
||||
env:
|
||||
global:
|
||||
- NODE_ENV=travisci
|
||||
cache:
|
||||
directories:
|
||||
- "node_modules"
|
||||
install:
|
||||
- npm install -g codecov
|
||||
- npm install -g istanbul
|
||||
script:
|
||||
- istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec
|
||||
- codecov
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user