From aeac2766ad91a8b3b1560ac1d0886e514f631164 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sun, 16 Sep 2012 12:38:43 -1000 Subject: [PATCH] update travis to run both with and without requests library --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1d80456..c8e6c25 100644 --- a/.travis.yml +++ b/.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 -- 2.43.0