We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a144cd8 commit 263c1b3Copy full SHA for 263c1b3
.travis.yml
@@ -1,9 +1,10 @@
1
language: node_js
2
node_js:
3
- - "8.11.4"
+ - iojs
4
+ - node
5
before_install:
6
- npm i -g npm@5.6.0
7
script:
- - npm run coverage
8
+ - npm test
9
after_script:
10
- npm run coveralls
package.json
@@ -4,8 +4,8 @@
"description": "Randomly select elements in a collection.",
"main": "src/index.js",
"scripts": {
- "test": "mocha --timeout=5000",
- "coverage": "nyc mocha --timeout=5000",
+ "test": "mocha --timeout=3000",
+ "coverage": "nyc report --timeout=3000 --reporter=text-lcov | coveralls",
"start": "node src/demo.js"
},
11
"repository": {
0 commit comments