]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
update travis to run both with and without requests library
authorKevin McCarthy <me@kevinmccarthy.org>
Sun, 16 Sep 2012 22:38:43 +0000 (12:38 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Sun, 16 Sep 2012 23:47:42 +0000 (13:47 -1000)
.travis.yml

index 1d804564dc8d6d68e7dc030e19872136cd7040b3..c8e6c258b1b6e033fd5e9834eeb5af639545ad01 100644 (file)
@@ -1,7 +1,12 @@
 language: python
+env:
+  - WITH_REQUESTS: True
+  - WITH_REQUESTS: False
 python:
   - 2.6
   - 2.7
   - pypy
-install: pip install -r test_requirements.txt --use-mirrors
+install: 
+  - pip install -r test_requirements.txt --use-mirrors
+  - if [ $WITH_REQUESTS = "True" ] ; then pip install requests; fi
 script:  python test.py