Skip to content

Commit 66ca299

Browse files
authored
Merge pull request GetStream#78 from GetStream/chore/add-codecov-to-ci-build
Chore/add codecov to ci build
2 parents e59b210 + f34972b commit 66ca299

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

.coveralls.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ cache: pip
1616
install:
1717
- pip install -r dev_requirements.txt
1818
script:
19-
- py.test -lv --cov stream --cov-report term-missing
19+
- py.test -lv --cov=./
2020
after_script:
2121
- "pep8 --exclude=migrations --ignore=E501,E225,W293 stream"
2222
- "python setup.py install"
23-
23+
- "codecov"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
stream-python
22
=============
33

4-
[![Build Status](https://travis-ci.org/GetStream/stream-python.svg?branch=master)](https://travis-ci.org/GetStream/stream-python) [![PyPI version](https://badge.fury.io/py/stream-python.svg)](http://badge.fury.io/py/stream-python)
4+
[![Build Status](https://travis-ci.org/GetStream/stream-python.svg?branch=master)](https://travis-ci.org/GetStream/stream-python) [![codecov](https://codecov.io/gh/GetStream/stream-python/branch/master/graph/badge.svg)](https://codecov.io/gh/GetStream/stream-python) [![PyPI version](https://badge.fury.io/py/stream-python.svg)](http://badge.fury.io/py/stream-python)
55

66
[stream-python](https://github.com/GetStream/stream-python) is the official Python client for [Stream](https://getstream.io/), a web service for building scalable newsfeeds and activity streams.
77

dev_requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pytest==3.2.5
2-
python-coveralls
3-
unittest2
2+
codecov==2.0.15
3+
unittest2==1.1.0
44
pytest-cov==2.5.1
55
python-dateutil
66
-e .

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def run_tests(self):
5050
# import here, cause outside the eggs aren't loaded
5151
import pytest
5252
errno = pytest.main(
53-
'--cov stream --cov-report term-missing -v')
53+
'-v --cov=./')
5454
sys.exit(errno)
5555

5656
setup(

0 commit comments

Comments
 (0)