Skip to content

Commit b3b7b93

Browse files
author
Matt Bernier
authored
Merge pull request #72 from pushkyn/add-travis-codecov
Update travis - add codecov
2 parents 7d0f7bc + ec45ba2 commit b3b7b93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ install:
1515
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.2" ]]; then travis_retry pip install coverage==3.7.1; fi
1616
- if [[ "$TRAVIS_PYTHON_VERSION" != "3.2" ]]; then travis_retry pip install coverage; fi
1717
- python setup.py install
18+
- pip install codecov
1819
script:
20+
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then coverage run -m unittest2 discover; else coverage run -m unittest discover; fi
21+
after_script:
22+
- codecov
1923
# Run pycodestyle
2024
- pycodestyle
2125
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then unit2 discover; else python -m unittest discover; fi

0 commit comments

Comments
 (0)