-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtox.ini
32 lines (30 loc) · 947 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
; tox.ini for plastid (https://plastid.readthedocs.io)
;
; pass PLASTID_NOREBUILD=true to avoid recompiling cython extensions
; in cases where it is undesirable to do so (e.g. pyx files have not
; changed, but other python source has):
;
; $ env PLASTID_NOREBUILD=true tox plastid.test.unit
;
[tox]
envlist =
py36-pinned
py36-latest
py39-latest
skipsdist = true
isolated_build = true
[testenv]
; whitelist externals for recompiling of source, to enable access to gcc, make,
; et c, for line 1 of `commands` section.
; ignore externals for running of tests in line 2 of `commands` section
allowlist_externals =
*
false
deps =
pinned: -rrequirements.txt
latest: -rrequirements-latest.txt
; note - this recompiles plastid every time prior to testing,
; unless PLASTID_NOREBUILD is set to true
commands =
{env:PLASTID_NOREBUILD:} {envpython} setup.py develop -q --recythonize
{envbindir}/nosetests {posargs}