File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
- node_modules
1
+ node_modules
2
+ .nyc_output
Original file line number Diff line number Diff line change 8
8
before_script :
9
9
- npm install -g gulp
10
10
- gulp lint
11
+ after_success : npm run coveralls
11
12
12
13
# whitelist
13
14
branches :
Original file line number Diff line number Diff line change 1
- # [ gulp] ( https://github.com/wearefractal/gulp ) -inline-css [ ![ Build Status] ( https://travis-ci.org/jonkemp/gulp-inline-css.svg?branch=master )] ( https://travis-ci.org/jonkemp/gulp-inline-css )
1
+ # [ gulp] ( https://github.com/wearefractal/gulp ) -inline-css [ ![ Build Status] ( https://travis-ci.org/jonkemp/gulp-inline-css.svg?branch=master )] ( https://travis-ci.org/jonkemp/gulp-inline-css ) [ ![ Coverage Status ] ( https://coveralls.io/repos/jonkemp/gulp-inline-css/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/jonkemp/gulp-inline-css?branch=master )
2
2
3
3
[ ![ NPM] ( https://nodei.co/npm/gulp-inline-css.png?downloads=true )] ( https://nodei.co/npm/gulp-inline-css/ )
4
4
Original file line number Diff line number Diff line change 12
12
"through2" : " ^0.6.1"
13
13
},
14
14
"devDependencies" : {
15
+ "coveralls" : " ^2.11.6" ,
15
16
"gulp" : " ^3.9.0" ,
16
17
"gulp-eslint" : " ^1.1.1" ,
17
18
"gulp-mocha" : " ^2.0.0" ,
18
19
"gulp-util" : " ^3.0.0" ,
19
20
"mocha" : " *" ,
21
+ "nyc" : " ^5.0.0" ,
20
22
"should" : " ^4.6.0"
21
23
},
22
24
"engines" : {
23
25
"node" : " >=0.10.0"
24
26
},
25
27
"scripts" : {
26
28
"test" : " mocha" ,
27
- "lint" : " gulp lint"
29
+ "lint" : " gulp lint" ,
30
+ "coverage" : " nyc npm test && nyc report" ,
31
+ "coveralls" : " nyc npm test && nyc report --reporter=text-lcov | coveralls"
28
32
},
29
33
"files" : [
30
34
" index.js"
You can’t perform that action at this time.
0 commit comments