Skip to content

Commit

Permalink
Use tox-win.ini for tox configuration on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Nov 27, 2015
1 parent c2036ef commit cc34758
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ install:
- C:\Python27\python -m pip install tox

test_script:
- C:\Python27\python -m tox -e %TESTENV%
- C:\Python27\python -m tox -c tox-win.ini -e %TESTENV%
154 changes: 154 additions & 0 deletions tox-win.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
[tox]
envlist = {py26,py27,py33,py34,py35,pypy,pypy3}-{cryptography,pycrypto}

[testenv]
usedevelop = True
basepython =
py26: python2.6
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
pypy: pypy
pypy3: pypy3
deps =
-rrequirements.txt
pytest
pytest-tornado
pytest-asyncio
httmock
coverage
redis
pymemcache
shove
tornado
cryptography: cryptography>=0.8.2
pycrypto: pycrypto>=2.6.1
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

[testenv:py26-cryptography]
deps =
-rrequirements.txt
importlib
pytest
pytest-tornado
httmock
coverage
redis
pymemcache
shove
tornado
ordereddict
cryptography: cryptography>=0.8.2
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

[testenv:py26-pycrypto]
deps =
-rrequirements.txt
importlib
pytest
pytest-tornado
httmock
coverage
redis
pymemcache
shove
tornado
ordereddict
pycrypto: pycrypto>=2.6.1
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

[testenv:pypy-cryptography]
deps =
-rrequirements.txt
importlib
pytest
pytest-tornado
httmock
coverage
redis
pymemcache
shove
tornado
cryptography: cryptography>=0.8.2,<1.0.0
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

[testenv:py34-cryptography]
deps =
-rrequirements.txt
pytest
pytest-tornado
pytest-asyncio
httmock
coverage
redis
pymemcache
shove
tornado
aiohttp
cryptography: cryptography>=0.8.2
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

[testenv:py34-pycrypto]
deps =
-rrequirements.txt
pytest
pytest-tornado
pytest-asyncio
httmock
coverage
redis
pymemcache
shove
tornado
aiohttp
pycrypto: pycrypto>=2.6.1
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

[testenv:py35-cryptography]
deps =
-rrequirements.txt
pytest
pytest-tornado
pytest-asyncio
httmock
coverage
redis
pymemcache
shove
tornado
aiohttp
cryptography: cryptography>=0.8.2
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

[testenv:py35-pycrypto]
deps =
-rrequirements.txt
pytest
pytest-tornado
pytest-asyncio
httmock
coverage
redis
pymemcache
shove
tornado
aiohttp
pycrypto: pycrypto>=2.6.1
commands =
coverage run --source=wechatpy {envbindir}/py.test.EXE
coverage report -m

0 comments on commit cc34758

Please sign in to comment.