Skip to content

Commit

Permalink
make tests more verbose for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed Aug 11, 2014
1 parent adecd99 commit 60ae815
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ matrix:
allow_failures:
- node_js: "0.11"
fast_finish: true
script: npm install . && npm test
script: npm install . && npm run test-travis
1 change: 1 addition & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ keywords:

scripts:
test: mocha -R dot ./test/functional ./test/unit
test-travis: mocha -R spec ./test/functional ./test/unit
lint: eslint -c ./.eslint.yaml ./lib
prepublish: js-yaml package.yaml > package.json

Expand Down
2 changes: 1 addition & 1 deletion test/functional/lib/startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports.start = function start(dir, conf, cb) {

var f = fork(__dirname + '/../../../bin/sinopia'
, ['-c', __dirname + '/../' + conf]
, {silent: true}
, {silent: !process.env.TRAVIS}
)
forks.push(f)
f.on('message', function(msg) {
Expand Down

0 comments on commit 60ae815

Please sign in to comment.