Skip to content

Commit f35e3a7

Browse files
committed
switch to codecov.io for coverage reporting
1 parent 85ef2ba commit f35e3a7

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules
44
Haraka
55
*~
66
bower_components
7+
coverage

.travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ node_js:
44
# - "0.6" # no longer supported by async
55
- "0.10"
66
- "0.12"
7-
- "iojs-v3"
8-
- "stable"
7+
- "4.2"
98

109
services:
1110
- redis-server
@@ -29,6 +28,8 @@ script:
2928
- node run_tests
3029

3130
after_success:
32-
- npm run coveralls
31+
- npm install istanbul codecov.io
32+
- ./node_modules/istanbul/lib/cli.js cov run_tests
33+
- cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js
3334

3435
sudo: false

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ SpamAssassin and a hacker on [Qpsmtpd][13].
149149

150150
[ci-img]: https://travis-ci.org/haraka/Haraka.svg?branch=master
151151
[ci-url]: https://travis-ci.org/haraka/Haraka
152-
[cov-img]: https://coveralls.io/repos/haraka/Haraka/badge.png
153-
[cov-url]: https://coveralls.io/r/haraka/Haraka
152+
[cov-img]: https://codecov.io/github/haraka/Haraka/coverage.svg
153+
[cov-url]: https://codecov.io/github/haraka/Haraka?branch=master
154154
[ci-win-img]: https://ci.appveyor.com/api/projects/status/g29l24w7qwoam47f?svg=true
155155
[ci-win-url]: https://ci.appveyor.com/project/msimerson/haraka-pa8a5

package.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"nodeunit" : "https://github.com/godsflaw/nodeunit/archive/master.tar.gz",
42-
"jscoverage" : "*",
43-
"coveralls" : "*",
44-
"eslint" : "^1.6.0",
42+
"eslint" : "*",
4543
"grunt" : "*",
4644
"grunt-contrib-clean" : "*",
4745
"grunt-contrib-jshint" : "*",
@@ -59,7 +57,6 @@
5957
"haraka_grep": "./bin/haraka_grep"
6058
},
6159
"scripts": {
62-
"test": "node run_tests",
63-
"coveralls": "jscoverage plugins && QUICKSORT_COV=1 ./node_modules/nodeunit/bin/nodeunit --reporter=lcov tests | coveralls"
60+
"test": "node run_tests"
6461
}
6562
}

0 commit comments

Comments
 (0)