File tree Expand file tree Collapse file tree 4 files changed +1062
-61
lines changed Expand file tree Collapse file tree 4 files changed +1062
-61
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ lib-cov
13
13
14
14
# Coverage directory used by tools like istanbul
15
15
coverage
16
+ .nyc_output
16
17
17
18
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
18
19
.grunt
Original file line number Diff line number Diff line change @@ -14,10 +14,13 @@ sudo: false
14
14
15
15
install :
16
16
- travis_retry npm install
17
+ - npm install -g codecov
17
18
18
19
script :
19
- - if [[ -z "$DISABLE_TESTS" ]]; then npm run test ; fi
20
+ - if [[ -z "$DISABLE_TESTS" ]]; then npm run coverage ; fi
20
21
- if [[ ! -z "$DISABLE_TESTS" && ! -z "$LINTING" ]]; then npm run lint; fi
21
22
22
23
after_success :
23
- - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
24
+ - codecov
25
+ - rm -rf ./.nyc_output
26
+ - rm -rf ./coverage
You can’t perform that action at this time.
0 commit comments