Skip to content

Commit

Permalink
Pin virtualenv<14 and pytest<3 for compatiblity with Python 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
snoack committed Jan 17, 2017
1 parent bcc1603 commit d1e4709
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ python:
- "pypy"
- "pypy3"

# virtualenv is a dependency of tox, by default it would install the
# latest version, but virtualenv 14 and above is incompatible with Python 3.2.
install:
- pip install tox
- pip install "virtualenv<14" tox

script:
- tox -e py
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
envlist=py26,py27,py32,py33,py34,py35,py36,pypy,pypy3

[testenv]
deps=pytest
# pytest 3 is incompatible with Python 3.2.
deps=pytest<3
commands=py.test

0 comments on commit d1e4709

Please sign in to comment.