File tree 4 files changed +19
-4
lines changed
4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1
- node_modules
1
+ node_modules
2
+ coverage
Original file line number Diff line number Diff line change 1
1
node_modules
2
+ coverage
2
3
test
Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
2
3
node_js :
3
- - 0.10
4
- - 0.12
4
+ - " 0.10"
5
+ - " 0.12"
6
+ - " iojs"
7
+ script : npm run travis
8
+
9
+ before_install :
10
+ - ' [ "${TRAVIS_NODE_VERSION}" != "0.10" ] || npm install -g npm'
11
+
12
+ after_success : cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose && rm -rf ./coverage
Original file line number Diff line number Diff line change 10
10
"source-list-map" : " ^0.1.4"
11
11
},
12
12
"devDependencies" : {
13
+ "coveralls" : " ^2.11.2" ,
14
+ "istanbul" : " ^0.3.13" ,
13
15
"mocha" : " ^2.2.4" ,
14
16
"should" : " ^5.2.0"
15
17
},
16
18
"scripts" : {
17
- "test" : " mocha --reporter spec"
19
+ "test" : " mocha" ,
20
+ "travis" : " npm run cover -- --report lcovonly" ,
21
+ "cover" : " istanbul cover -x *.runtime.js node_modules/mocha/bin/_mocha" ,
22
+ "publish-patch" : " mocha && npm version patch && git push && git push --tags && npm publish"
18
23
},
19
24
"repository" : {
20
25
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments