Commit b9a12389 by weidenba

coverage added to pytest config

parent d92bb80c
...@@ -6,3 +6,6 @@ build ...@@ -6,3 +6,6 @@ build
.project .project
.pydevproject .pydevproject
.cache .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] [pytest]
addopts = --pep8 -v addopts = --pep8 -v --cov=./
pep8ignore = pep8ignore =
*.py E501 *.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