]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Cut down on the number of environments in Travis
authorKevin McCarthy <me@kevinmccarthy.org>
Sun, 9 Feb 2014 20:11:54 +0000 (10:11 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Sun, 9 Mar 2014 05:35:32 +0000 (19:35 -1000)
.travis.yml

index c1786cbae440a24fd88f077d91821aec90fb2aa9..44a11fa7d08dc528dc4bb277b46b25a9965a3666 100644 (file)
@@ -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