Skip to content

Commit 1c8e77a

Browse files
committed
Add support for codecov
1 parent ab1bbb4 commit 1c8e77a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ python:
77
- "3.5"
88
- "nightly"
99
- "pypy"
10+
before_install:
11+
- pip install codecov
1012
install:
1113
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; pip install -r requirements26.txt; fi
1214
- "rm -rf dist/*"
1315
- pip install -r requirements.txt
1416
- python setup.py bdist_wheel
1517
- pip install dist/*.whl
16-
script: cd tests/ && nosetests .
18+
script: cd tests/ && nosetests --with-coverage --cover-package jmespath .
19+
after_success:
20+
- codecov

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ nose==1.2.1
22
py==1.4.12
33
tox==1.4.2
44
wheel==0.24.0
5+
coverage==3.7.1

0 commit comments

Comments
 (0)