-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (39 loc) · 1.03 KB
/
tox.ini
File metadata and controls
42 lines (39 loc) · 1.03 KB
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
[tox]
envlist = py34,py35,py36,flake8
[testenv]
changedir = tests
commands =
coverage erase
coverage run --branch --include=*/site-packages/volpy/* -m unittest discover []
coverage report
coverage html -d ../htmlcov
deps =
numpy
coverage
cython
[testenv:flake8]
skip_install = True
commands =
flake8 .
deps =
flake8
[testenv:benchmark]
basepython = python3.4
changedir = benchmarks
whitelist_externals =
time
commands =
# colorful sphere render test
time -p python implicit-function.py --color --output color.png
time -p python implicit-function.py --color --method fork --output color-fork.png
# white grid cube render test
time -p python grid.py --output grid.png
time -p python grid.py --method fork --output grid-fork.png
# implicit sphere stamped on grid test
time -p python stamp.py --grid-shape 256 256 256
time -p python stamp.py --pstamp --grid-shape 256 256 256
time -p python stamp.py --pstamp --method fork --grid-shape 256 256 256
deps =
numpy
cython
pillow