tox.ini: specify 'basepython' (with TOXPYTHON override); print python version and arch; call python -m pip
to work around Appveyor-installed pip
This commit is contained in:
parent
fe740dbb68
commit
7223267328
13
tox.ini
13
tox.ini
@ -1,11 +1,22 @@
|
||||
[tox]
|
||||
envlist = py27, pypy, py33, py34, py35
|
||||
envlist = py27, pypy, py34, py35
|
||||
|
||||
[testenv]
|
||||
basepython =
|
||||
py27: {env:TOXPYTHON:python2.7}
|
||||
pypy: {env:TOXPYTHON:pypy}
|
||||
py34: {env:TOXPYTHON:python3.4}
|
||||
py35: {env:TOXPYTHON:python3.5}
|
||||
deps =
|
||||
pytest
|
||||
-rrequirements.txt
|
||||
install_command =
|
||||
python -m pip install -v {opts} {packages}
|
||||
commands =
|
||||
# check that we have the expected Python version and architecture
|
||||
python -c "import sys; print(sys.version)"
|
||||
python -c "import struct; print(struct.calcsize('P') * 8)"
|
||||
# run the test suite
|
||||
py.test
|
||||
|
||||
[pytest]
|
||||
|
Loading…
x
Reference in New Issue
Block a user