Attempt to fix the coverage
parent
6ce12a8c78
commit
0367a1c0bd
@ -0,0 +1,41 @@
|
|||||||
|
# Temporary and binary files
|
||||||
|
*~
|
||||||
|
*.py[cod]
|
||||||
|
*.so
|
||||||
|
*.cfg
|
||||||
|
!setup.cfg
|
||||||
|
*.orig
|
||||||
|
*.log
|
||||||
|
*.pot
|
||||||
|
__pycache__/*
|
||||||
|
.cache/*
|
||||||
|
.*.swp
|
||||||
|
|
||||||
|
# Project files
|
||||||
|
.ropeproject
|
||||||
|
.project
|
||||||
|
.pydevproject
|
||||||
|
.settings
|
||||||
|
.idea
|
||||||
|
|
||||||
|
# Package files
|
||||||
|
*.egg
|
||||||
|
*.eggs/
|
||||||
|
.installed.cfg
|
||||||
|
*.egg-info
|
||||||
|
|
||||||
|
# Unittest and coverage
|
||||||
|
htmlcov/*
|
||||||
|
.coverage
|
||||||
|
.tox
|
||||||
|
junit.xml
|
||||||
|
coverage.xml
|
||||||
|
|
||||||
|
# Build and docs folder/files
|
||||||
|
build/*
|
||||||
|
dist/*
|
||||||
|
sdist/*
|
||||||
|
docs/_rst/*
|
||||||
|
docs/_build/*
|
||||||
|
cover/*
|
||||||
|
MANIFEST
|
@ -0,0 +1,24 @@
|
|||||||
|
# Tox (http://tox.testrun.org/) is a tool for running tests
|
||||||
|
# in multiple virtualenvs. This configuration file will run the
|
||||||
|
# test suite on all supported python versions. To use it, "pip install tox"
|
||||||
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
|
[tox]
|
||||||
|
envlist = py27, py32, py33, py34, pypy, report
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
changedir=tests
|
||||||
|
deps =
|
||||||
|
-r./requirements.txt
|
||||||
|
coverage
|
||||||
|
coveralls
|
||||||
|
commands =
|
||||||
|
coverage run --source=wafo setup.py test
|
||||||
|
|
||||||
|
[testenv:report]
|
||||||
|
basepython = python3.4
|
||||||
|
commands =
|
||||||
|
coverage combine
|
||||||
|
coverage report -m
|
||||||
|
usedevelop = true
|
||||||
|
|
Loading…
Reference in New Issue