File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ after_script:
1818 - npm run update-coveralls
1919 - npm run check-coverage
2020
21+ script :
22+ - npm run mocha
23+
2124notifications :
2225 email :
2326 on_success : never
Original file line number Diff line number Diff line change 11redis :
22 image : redis
33
4- miniprofiler :
4+ test :
55 image : node
66 volumes :
77 - .:/usr/src/miniprofiler
88 links :
99 - redis
1010 working_dir : /usr/src/miniprofiler
11- command : bash -c " npm install && npm test"
11+ command : npm run mocha
Original file line number Diff line number Diff line change 55 "main" : " lib/miniprofiler.js" ,
66 "scripts" : {
77 "lint" : " eslint ." ,
8- "test" : " mocha tests/ -c" ,
9- "test:watch" : " mocha tests/ -c --watch" ,
8+ "stop-services" : " docker-compose stop" ,
9+ "test" : " docker-compose up test" ,
10+ "mocha" : " mocha tests/ -c" ,
1011 "coverage" : " istanbul cover ./node_modules/mocha/bin/_mocha -- tests/ -R spec" ,
1112 "check-coverage" : " istanbul check-coverage --statements 70 --branches 70 --functions 70 --lines 70" ,
1213 "update-coveralls" : " cat coverage/lcov.info | node ./node_modules/coveralls/bin/coveralls.js"
You can’t perform that action at this time.
0 commit comments