Skip to content

Commit aadf7c2

Browse files
author
Donatas Stundys
committed
Run tests on more node and sinon versions
1 parent cb036f0 commit aadf7c2

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
language: node_js
22
node_js:
3-
- 4
3+
- 6
4+
- 8
5+
- 9
6+
- 10
47
- stable
58
env:
6-
# This matrix used to be larger. In 3.0.0 we moved to only supporting these versions.
7-
# But, we'll retain the infrastructure for a larger matrix, in case we need it in the future.
9+
- CHAI_VERSION=^4.0.0 SINON_VERSION=^5.0.0
810
- CHAI_VERSION=^4.0.0 SINON_VERSION=^4.0.0
911
script:
1012
- npm run lint

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
],
2424
"scripts": {
2525
"test": "mocha",
26-
"test-travis": "npm install chai@$CHAI_VERSION && npm install sinon@$SINON_VERSION && npm install && npm test",
26+
"test-travis": "npm install && npm install chai@$CHAI_VERSION && npm install sinon@$SINON_VERSION && npm test",
2727
"lint": "eslint .",
2828
"cover": "istanbul cover node_modules/mocha/bin/_mocha && opener ./coverage/lcov-report/lib/sinon-chai.js.html"
2929
},
3030
"peerDependencies": {
3131
"chai": "^4.0.0",
32-
"sinon": "^4.0.0 || ^5.0.0"
32+
"sinon": ">=4.0.0"
3333
},
3434
"devDependencies": {
3535
"chai": "^4.1.0",

0 commit comments

Comments
 (0)