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:
|
install:
|
||||||
- pip install -U pip setuptools
|
- pip install -U pip setuptools
|
||||||
- pip install tox-travis pre-commit
|
- pip install tox-travis pre-commit
|
||||||
|
- pip install codecov
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pre-commit run --all-files; fi
|
- 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',
|
'pytz',
|
||||||
'six',
|
'six',
|
||||||
'python-dateutil',
|
'python-dateutil',
|
||||||
|
'requests',
|
||||||
]
|
]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
|
Loading…
Reference in New Issue