Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Commit

Permalink
chore(travis): add all versions and increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemao committed Mar 10, 2016
1 parent 84f5284 commit dadaaf1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
sudo: false
language: node_js
node_js:
- 'iojs'
- '5'
- '4'
- '3'
- '2'
- '1'
- '0.12'
- '0.10'
before_script:
- git config --global user.name "Travis-CI"
- git config --global user.email "dummy@example.org"
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --timeout 20000 && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"shelljs": "^0.6.0"
},
"scripts": {
"coverage": "istanbul cover _mocha -- -R spec && rm -rf ./coverage",
"coverage": "istanbul cover _mocha -- -R spec --timeout 20000 && rm -rf ./coverage",
"lint": "jshint presets test *.js --exclude node_modules && jscs presets test *.js",
"test": "npm run-script lint && mocha"
"test": "npm run-script lint && mocha --timeout 20000"
},
"bin": "cli.js"
}

0 comments on commit dadaaf1

Please sign in to comment.