diff options
author | Matt Martz <matt@sivel.net> | 2018-05-22 16:30:27 -0500 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2018-05-22 16:30:27 -0500 |
commit | 3884809fab86205afddfcd9351ab06aeac8c8c0b (patch) | |
tree | cb2b62209425f8177542730cd21ebae9aec1c908 | |
parent | 9e185e8f88db6f733f16b2bc41d6c5976394355e (diff) |
Handle virtualenv and tox versions for py2.6/3.3py26-33-travis-fix
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 20e5ecd..0380352 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,10 @@ before_install: install: - if [[ $(echo "$TOXENV" | egrep -c "py32") != 0 ]]; then pip install setuptools==17.1.1; fi; - if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[12])") != 0 ]]; then pip install virtualenv==1.7.2 tox==1.3; fi; - - if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[12])") == 0 ]]; then pip install tox; fi; + - if [[ $(echo "$TOXENV" | egrep -c "(py26|py33)") != 0 ]]; then pip install virtualenv==15.2.0 tox==2.9.1; fi; + - if [[ $(echo "$TOXENV" | egrep -c "(py2[456]|py3[123])") == 0 ]]; then pip install tox; fi; + + script: - tox |