Skip to content

Commit 620807a

Browse files
committed
add codecov to travis
1 parent 57208ca commit 620807a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,25 @@ python:
1111

1212
install:
1313
- pip install .
14-
- pip install tox
14+
- pip install tox coverage codecov
1515
- "TOX_ENV=${TRAVIS_PYTHON_VERSION/[0-9].[0-9]/py${TRAVIS_PYTHON_VERSION/.}}"
1616

1717

1818
branches:
1919
only:
20+
- master
2021
- develop
2122
- feature/travis
2223

24+
25+
before_success:
26+
- coverage erase
27+
28+
29+
after_success:
30+
- coverage combine
31+
- codecov
32+
2333
script: tox -e $TOX_ENV
2434

2535
before_cache:

0 commit comments

Comments
 (0)