mirror of https://github.com/flaggo/pydu.git
using codecov and coverage tool
This commit is contained in:
parent
0ab334740a
commit
1c39c6bfe8
|
@ -21,16 +21,14 @@ environment:
|
|||
PYTHON_VERSION: "3.6.x"
|
||||
PYTHON_ARCH: "64"
|
||||
TOXENV: "py36"
|
||||
COVERALLS_REPO_TOKEN:
|
||||
secure: dKqk1ANtaVDw/njiGRw+qYq3tWywjoZDs3duK2VaNRF0AAAnSBK5RGbvKSTpl/Xk
|
||||
|
||||
install:
|
||||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
||||
- "python --version"
|
||||
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
|
||||
- "pip install --disable-pip-version-check --user --upgrade pip"
|
||||
- "%CMD_IN_ENV% pip install tox coverage coveralls"
|
||||
- "%CMD_IN_ENV% pip install tox"
|
||||
|
||||
test_script:
|
||||
# Run the project tests
|
||||
- "%CMD_IN_ENV% tox"
|
||||
|
||||
on_success:
|
||||
- "%CMD_IN_ENV% codecov"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
[run]
|
||||
branch = True
|
||||
source = pydu
|
||||
|
||||
[paths]
|
||||
source =
|
||||
pydu
|
||||
.tox/*/lib/python*/site-packages/pydu
|
|
@ -10,11 +10,14 @@ sudo: false
|
|||
cache: pip
|
||||
|
||||
install:
|
||||
- pip install tox-travis
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox
|
||||
|
||||
after_success:
|
||||
- codecov
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
pytest>=2.8.0
|
||||
pytest-xdist
|
||||
coveralls
|
||||
codecov
|
||||
HTTPretty==0.8.14
|
||||
|
|
Loading…
Reference in New Issue