Browse files

update travis to run both with and without requests library

  • Loading branch information...
1 parent 6d876c6 commit aeac2766ad91a8b3b1560ac1d0886e514f631164 @kevin1024 committed Sep 16, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 .travis.yml
View
7 .travis.yml
@@ -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

0 comments on commit aeac276

Please sign in to comment.