-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathtox.ini
47 lines (39 loc) · 980 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
envlist =
py37,py36,py35,py34,py27,pypy,
{py27,py36}-flakes,
{py27,py36}-with_numpy,
{py27,py36}-with_ipython
{py27,py35,py36,py37}-with_pandas
[testenv]
deps = .[tests]
commands = nosetests
[testenv:coverage]
# remove develop install if https://github.com/ioam/param/issues/219
# implemented
setdevelop = True
passenv = TRAVIS TRAVIS_*
deps = {[testenv]deps}
coveralls
commands = nosetests --with-coverage --cover-package=param
coveralls
# TODO missing numbergen
[testenv:with_numpy]
deps = {[testenv]deps}
numpy
setenv = PARAM_TEST_NUMPY = 1
[testenv:with_pandas]
deps = {[testenv]deps}
pandas
setenv = PARAM_TEST_PANDAS = 1
[testenv:with_ipython]
deps = {[testenv]deps}
ipython
setenv = PARAM_TEST_IPYTHON = 1
[testenv:flakes]
skip_install = true
commands = flake8
[flake8]
ignore = E,W,W605
include = *.py
exclude = .git,__pycache__,.tox,.eggs,*.egg,doc,dist,build,_build,.ipynb_checkpoints,run_test.py