0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

make tests more verbose for travis

This commit is contained in:
Alex Kocharin 2014-08-11 08:09:18 +04:00
parent adecd99866
commit 60ae815c09
3 changed files with 3 additions and 2 deletions

View file

@ -6,4 +6,4 @@ matrix:
allow_failures: allow_failures:
- node_js: "0.11" - node_js: "0.11"
fast_finish: true fast_finish: true
script: npm install . && npm test script: npm install . && npm run test-travis

View file

@ -103,6 +103,7 @@ keywords:
scripts: scripts:
test: mocha -R dot ./test/functional ./test/unit test: mocha -R dot ./test/functional ./test/unit
test-travis: mocha -R spec ./test/functional ./test/unit
lint: eslint -c ./.eslint.yaml ./lib lint: eslint -c ./.eslint.yaml ./lib
prepublish: js-yaml package.yaml > package.json prepublish: js-yaml package.yaml > package.json

View file

@ -21,7 +21,7 @@ module.exports.start = function start(dir, conf, cb) {
var f = fork(__dirname + '/../../../bin/sinopia' var f = fork(__dirname + '/../../../bin/sinopia'
, ['-c', __dirname + '/../' + conf] , ['-c', __dirname + '/../' + conf]
, {silent: true} , {silent: !process.env.TRAVIS}
) )
forks.push(f) forks.push(f)
f.on('message', function(msg) { f.on('message', function(msg) {