-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support and testing for Sinon ^2.1.0 (#89)
- Loading branch information
Showing
2 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
- iojs | ||
- stable | ||
env: | ||
# Can't figure out how to DRY this up: http://stackoverflow.com/q/22397300/3191 | ||
- CHAI_VERSION=^1.9.2 SINON_VERSION=^1.4.0 | ||
- CHAI_VERSION=^2.0.0 SINON_VERSION=^1.4.0 | ||
- CHAI_VERSION=^3.0.0 SINON_VERSION=^1.4.0 | ||
- CHAI_VERSION=^1.9.2 SINON_VERSION=^2.1.0 | ||
- CHAI_VERSION=^2.0.0 SINON_VERSION=^2.1.0 | ||
- CHAI_VERSION=^3.0.0 SINON_VERSION=^2.1.0 | ||
script: | ||
npm run lint && npm test | ||
npm run lint && npm run test-travis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,16 +22,14 @@ | |
"lib" | ||
], | ||
"scripts": { | ||
"test": "npm run test-chai-1-9-2 && npm run test-chai-2-3-0 && npm run test-chai-3-0-0", | ||
"test-chai-1-9-2": "npm install [email protected] && mocha", | ||
"test-chai-2-3-0": "npm install [email protected] && mocha", | ||
"test-chai-3-0-0": "npm install [email protected] && mocha", | ||
"test": "mocha", | ||
"test-travis": "npm install chai@$CHAI_VERSION && npm install sinon@$SINON_VERSION && npm test", | ||
"lint": "jshint ./lib", | ||
"cover": "istanbul cover node_modules/mocha/bin/_mocha && opener ./coverage/lcov-report/lib/sinon-chai.js.html" | ||
}, | ||
"peerDependencies": { | ||
"chai": ">=1.9.2 <4", | ||
"sinon": ">=1.4.0 <2" | ||
"sinon": "^1.4.0 || ^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.0.0", | ||
|
@@ -40,6 +38,6 @@ | |
"jshint": "^2.5.6", | ||
"mocha": "^1.21.4", | ||
"opener": "^1.4.0", | ||
"sinon": "^1.10.3" | ||
"sinon": "^2.1.0" | ||
This comment has been minimized.
Sorry, something went wrong. |
||
} | ||
} |
Haha my build failed for just this, 19 minutes ago... It says this was committed 23 minutes ago.
Thanks for the reactivity :D