From 2385176084784cf545138d3ebdb76b9443ffe66c Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sun, 9 Feb 2014 10:11:54 -1000 Subject: [PATCH] Cut down on the number of environments in Travis --- .travis.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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 -- 2.43.0