1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Bump mocha timeout on Travis

This commit is contained in:
Jari Bakken 2014-11-12 15:15:23 +01:00 committed by Ivar Conradi Østhus
parent ff4beac7f7
commit 079ef631df
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
language: node_js language: node_js
node_js: node_js:
- "0.10" - "0.10"
before_script:
- echo '--timeout 10000' > test/mocha.opts
script: script:
- npm install - npm install
- npm test - npm test

View File

@ -20,7 +20,7 @@
"start": "NODE_ENV=production node server.js", "start": "NODE_ENV=production node server.js",
"build": "./node_modules/.bin/webpack", "build": "./node_modules/.bin/webpack",
"dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js", "dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js",
"test": "jshint server.js lib test && jsxhint public/js/**/*.jsx && mocha test test/* && npm run coverage", "test": "jshint server.js lib test && jsxhint public/js/**/*.jsx && mocha test test/*.js && npm run coverage",
"tdd": "mocha --watch test test/*", "tdd": "mocha --watch test test/*",
"test-bamboo-ci": "mocha test test/*", "test-bamboo-ci": "mocha test test/*",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec", "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec",