Updated tox.ini

master
Per A Brodtkorb 9 years ago
parent 8fe60a970f
commit b652ef7ae7

@ -4,21 +4,28 @@
# and then run "tox" from this directory. # and then run "tox" from this directory.
[tox] [tox]
envlist = py27, py32, py33, py34, report minversion = 1.8
envlist = py27
skip_missing_interpreters = True
[testenv] [testenv]
changedir=tests changedir = -r{toxinidir}/wafo
deps =
-r./requirements.txt
coverage
coveralls
commands =
coverage run --source=wafo setup.py test
[testenv:report]
basepython = python2.7
commands = commands =
coverage combine py.test {posargs}
coverage report -m deps =
usedevelop = true 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

@ -1,6 +1,7 @@
from __future__ import division, print_function, absolute_import from __future__ import division, print_function, absolute_import
from .info import __doc__ from .info import __doc__
from . import misc from . import misc
from . import data from . import data
from . import demos from . import demos

@ -17,7 +17,7 @@ from scipy.special import gammaln, gamma, psi
from scipy.integrate import trapz, simps from scipy.integrate import trapz, simps
import warnings import warnings
from time import strftime, gmtime from time import strftime, gmtime
from plotbackend import plotbackend from .plotbackend import plotbackend
from collections import OrderedDict from collections import OrderedDict
try: try:
import c_library as clib # @UnresolvedImport import c_library as clib # @UnresolvedImport

Loading…
Cancel
Save