tox.ini: use {envpython} substituion for path to the virtual Python interpreter
This commit is contained in:
parent
d187a7ea44
commit
a37dc9f186
6
tox.ini
6
tox.ini
@ -12,11 +12,11 @@ deps =
|
|||||||
pytest
|
pytest
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
install_command =
|
install_command =
|
||||||
python -m pip install -v {opts} {packages}
|
{envpython} -m pip install -v {opts} {packages}
|
||||||
commands =
|
commands =
|
||||||
# check that we have the expected Python version and architecture
|
# check that we have the expected Python version and architecture
|
||||||
python -c "import sys; print(sys.version)"
|
{envpython} -c "import sys; print(sys.version)"
|
||||||
python -c "import struct; print(struct.calcsize('P') * 8)"
|
{envpython} -c "import struct; print(struct.calcsize('P') * 8)"
|
||||||
# run the test suite
|
# run the test suite
|
||||||
py.test
|
py.test
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user