Move codecov invocation from Tox to Travis
This avoids errors when running Tox locally. Also display line numbers missing test coverage.stix2.1
parent
f321447ecc
commit
61c1e07433
|
@ -14,6 +14,9 @@ python:
|
|||
install:
|
||||
- pip install -U pip setuptools
|
||||
- pip install tox-travis pre-commit
|
||||
- pip install codecov
|
||||
script:
|
||||
- tox
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pre-commit run --all-files; fi
|
||||
after_success:
|
||||
- codecov
|
||||
|
|
1
setup.py
1
setup.py
|
@ -5,6 +5,7 @@ install_requires = [
|
|||
'pytz',
|
||||
'six',
|
||||
'python-dateutil',
|
||||
'requests',
|
||||
]
|
||||
|
||||
setup(
|
||||
|
|
Loading…
Reference in New Issue