Commit b9a12389 by weidenba

coverage added to pytest config

parent d92bb80c
......@@ -6,3 +6,6 @@ build
.project
.pydevproject
.cache
.pytest_cache
.coverage
dist: trusty
language: python
python:
- "3.5"
- "3.6"
# command to install dependencies
install:
- "sudo apt-get -qq update"
- "sudo apt-get install -y clamav"
- "sudo freshclam"
- "sudo apt-get install clamav-daemon"
- "python setup.py -q install"
- "pip install pytest-pep8 pytest-cov codecov"
# command to run tests
script: "pytest --cov=./"
after_success:
- codecov
[pytest]
addopts = --pep8 -v
addopts = --pep8 -v --cov=./
pep8ignore =
*.py E501
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment