Skip to content

Commit beaad71

Browse files
coverage badge
Signed-off-by: Arnav Gupta <arnav@codingblocks.com>
1 parent e6a4d9b commit beaad71

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ install:
1414
- docker pull codingblocks/judge-worker-cpp
1515

1616
script:
17-
- npm run test
17+
- npm run cover
18+
19+
after_success:
20+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Judge TaskMaster
22

3+
[![Travis](https://img.shields.io/travis/coding-blocks/judge-taskmaster.svg?style=flat-square)](https://travis-ci.org/coding-blocks/judge-taskmaster)
4+
[![Codecov](https://img.shields.io/codecov/c/github/coding-blocks/judge-taskmaster.svg)](https://codecov.io/gh/coding-blocks/judge-taskmaster)
5+
36
## Environment Variables
47

58
| Variable | Description | Default Value |

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
".js"
2828
],
2929
"reporter": [
30-
"html",
31-
"lcov"
30+
"text",
31+
"lcovonly"
3232
],
3333
"sourceMap": true
3434
},

0 commit comments

Comments
 (0)