Skip to content

Commit a2238ba

Browse files
authored
Merge pull request #18 from wkoot/coverage-integration
Coverage integration
2 parents 14005ef + c9f5243 commit a2238ba

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
source = instagram
3+
branch = False

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ install:
1515
script:
1616
- "coverage run tests.py"
1717
- "coverage xml -o coverage.xml"
18+
after_success:
19+
- "coveralls"
1820
- "if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then
1921
python-codacy-coverage -r coverage.xml;
2022
fi"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
[![Build Status](https://api.travis-ci.org/wkoot/python-instagram.svg)](https://travis-ci.org/wkoot/python-instagram)
88
[![Code Coverage](https://api.codacy.com/project/badge/coverage/6dd0431b8752421d95521ea59fc6ecc1)](https://www.codacy.com/app/wkoot/python-instagram)
9+
[![Coverage Status](https://coveralls.io/repos/github/wkoot/python-instagram/badge.svg)](https://coveralls.io/github/wkoot/python-instagram)
910
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6dd0431b8752421d95521ea59fc6ecc1)](https://www.codacy.com/app/wkoot/python-instagram)
1011

1112

build_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
twine==1.8.1
22
coverage==4.4.1
3+
coveralls==1.2.0
34
codacy-coverage==1.3.3

0 commit comments

Comments
 (0)