Ensure Python 3.2 support with tox

This commit is contained in:
Peter Bittner
2016-05-15 18:02:23 +02:00
parent c0d81f9d1d
commit 2275800c9c
4 changed files with 5 additions and 7 deletions

1
.gitignore vendored
View File

@@ -6,6 +6,7 @@
/.venv* /.venv*
/*.egg-info /*.egg-info
/.eggs
/build /build
/dist /dist
/MANIFEST /MANIFEST

View File

@@ -1,4 +1,4 @@
language: python language: python
python: "3.5" python: "3.5"
install: pip install virtualenv install: pip install "virtualenv<14.0.0"
script: python setup.py test script: python setup.py test

View File

@@ -58,7 +58,7 @@ setup(
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
], ],
tests_require=['tox'], tests_require=['tox', 'virtualenv<14.0.0'],
cmdclass={ cmdclass={
'test': Tox, 'test': Tox,
}, },

View File

@@ -5,11 +5,8 @@ envlist =
pypy pypy
[testenv] [testenv]
commands = commands = py.test -q tests.py
py.test -q tests.py deps = pytest
deps =
pip==7.1.2
pytest
setenv = setenv =
PIP_DISABLE_PIP_VERSION_CHECK = 1 PIP_DISABLE_PIP_VERSION_CHECK = 1