forked from pypr/pysph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
26 lines (24 loc) · 755 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
[tox]
envlist = py27, py35, py35-pyzoltan, py36, py37
skip_missing_interpreters = True
[pytest]
addopts = -m "not slow"
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
parallel: tests that require MPI
[testenv]
sitepackages = True
install_command =
python -m pip install --no-build-isolation {opts} {packages}
# Change to the .tox dir, this avoids problems with the tests picking up the
# the pysph in the current directory leading to false errors.
changedir = {toxworkdir}
passenv = CC CXX ZOLTAN* USE_TRILINOS
deps =
-rrequirements.txt
-rrequirements-test.txt
pyzoltan: pyzoltan
commands = python -m pytest -v \
--junit-xml=pytest-{envname}.xml \
{posargs} \
--pyargs pysph