diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-29 16:44:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 16:44:24 -0400 |
commit | 9c5881c375e5177819b3bfe3070b068a81e3d63c (patch) | |
tree | 137c47a25b29f6ee65137686760ece7611ed5dee | |
parent | f455ee4f5881fa549c2dc864efc9848e170de6ef (diff) | |
parent | c7c6522000dc6a32f5933dc837b188b612744b3b (diff) | |
download | external_python_setuptools-9c5881c375e5177819b3bfe3070b068a81e3d63c.tar.gz external_python_setuptools-9c5881c375e5177819b3bfe3070b068a81e3d63c.tar.bz2 external_python_setuptools-9c5881c375e5177819b3bfe3070b068a81e3d63c.zip |
Merge pull request #765 from timheap/bad-pytest-version
Install py.test>=2.8,<3
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | tox.ini | 5 |
3 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index ed077d94..81d1f170 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ env: - LC_ALL=C LC_CTYPE=C script: # avoid VersionConflict when newer version is required - - pip install -U pytest + - pip install -U 'pytest>=2.8,<3' # Output the env, because the travis docs just can't be trusted - env @@ -181,7 +181,7 @@ setup_params = dict( tests_require=[ 'setuptools[ssl]', 'pytest-flake8', - 'pytest>=2.8,!=3.0.0', + 'pytest>=2.8,<3', ] + (['mock'] if sys.version_info[:2] < (3, 3) else []), setup_requires=[ ] + pytest_runner + wheel, @@ -2,5 +2,8 @@ envlist = py26,py27,py33,py34,py35,pypy,pypy3 [testenv] +deps= + pytest-flake8 + pytest>=2.8,<3 passenv=APPDATA USERPROFILE HOMEDRIVE HOMEPATH windir -commands=python setup.py test +commands=python setup.py test --addopts='-rsx' |