You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# 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]
|
|
|
|
minversion = 1.8
|
|
|
|
envlist = py27
|
|
|
|
skip_missing_interpreters = True
|
|
|
|
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
changedir = -r{toxinidir}/wafo
|
|
|
|
|
|
|
|
commands =
|
|
|
|
py.test {posargs}
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
changedir = {toxinidir}
|
|
|
|
deps = flake8
|
|
|
|
commands = flake8 setup.py wafo tests
|
|
|
|
|
|
|
|
# Options for flake8
|
|
|
|
#[flake8]
|
|
|
|
|
|
|
|
# Options for pytest
|
|
|
|
[pytest]
|
|
|
|
addopts = -rsxXf
|