Skip to content

Commit 098c511

Browse files
committed
Code coverage with Coveralls
1 parent e6dc32d commit 098c511

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ sudo: false
33
python:
44
- 2.7
55
install:
6-
- pip install pytest flake8
6+
- pip install pytest pytest-cov coveralls flake8
77
- pip install -e .[django]
88
script:
9-
- py.test
9+
- py.test --cov
1010
- flake8
11+
after_success:
12+
- coveralls

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
GraphQL implementation for Python
44

55
[![Build Status](https://travis-ci.org/dittos/graphql-py.svg?branch=master)](https://travis-ci.org/dittos/graphql-py)
6+
[![Coverage Status](https://coveralls.io/repos/dittos/graphql-py/badge.svg?branch=master&service=github)](https://coveralls.io/github/dittos/graphql-py?branch=master)
67

78
## Roadmap
89

0 commit comments

Comments
 (0)