xref: /petsc/src/binding/petsc4py/tox.ini (revision df4cd43f92eaa320656440c40edb1046daee8f75)
1# Tox (http://tox.testrun.org/) is a tool for running tests
2# in multiple virtualenvs. This configuration file will run the
3# test suite on all supported python versions.To use it,
4# "pip install tox" and then run "tox" from this directory.
5
6[tox]
7minversion = 3.18.0
8skip_missing_interpreters = True
9envlist =
10    py26,
11    py27,
12    py33,
13    py34,
14    py35,
15    py36,
16    py37,
17    py38,
18    py39,
19    py310,
20    py311,
21
22[testenv:.pkg]
23passenv =
24    PETSC_DIR
25    PETSC_ARCH
26    CPPFLAGS
27    CFLAGS
28    CXXFLAGS
29    LDFLAGS
30
31[testenv]
32deps =
33passenv =
34    PETSC_DIR
35    PETSC_ARCH
36commands =
37    {envpython} {toxinidir}/test/runtests.py --quiet --no-builddir []
38