From: Kevin McCarthy Date: Sun, 9 Feb 2014 20:11:54 +0000 (-1000) Subject: Cut down on the number of environments in Travis X-Git-Tag: v0.7.0~13 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2385176084784cf545138d3ebdb76b9443ffe66c;p=vcrpy.git Cut down on the number of environments in Travis --- diff --git a/.travis.yml b/.travis.yml index c1786cb..44a11fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,17 @@ language: python before_install: openssl version env: - - WITH_REQUESTS="2.x" - - WITH_REQUESTS="1.x" - - WITH_REQUESTS="False" - - WITH_HTTPLIB2="True" - - WITH_HTTPLIB2="False" + - WITH_LIB="requests2.x" + - WITH_LIB="requests1.x" + - WITH_LIB="httplib2" + - WITH_LIB="None" python: - 2.6 - 2.7 - pypy install: - pip install PyYAML pytest --use-mirrors - - if [ $WITH_REQUESTS = "1.x" ] ; then pip install requests==1.2.3; fi - - if [ $WITH_REQUESTS = "2.x" ] ; then pip install requests; fi - - if [ $WITH_HTTPLIB2 = "True" ] ; then pip install httplib2; fi + - if [ $WITH_LIB = "requests1.x" ] ; then pip install requests==1.2.3; fi + - if [ $WITH_LIB = "requests2.x" ] ; then pip install requests; fi + - if [ $WITH_LIB = "httplib2" ] ; then pip install httplib2; fi script: python setup.py test