From c37d607b97ebbbfc88726267bf1a2795d5048bca Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Thu, 2 Jul 2015 16:17:34 -0700 Subject: [PATCH] Don't install pycurl if pypy is being used. Pycurl doesn't yet support pypy. --- .travis.yml | 3 ++- tox.ini | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15910b1..d9ce0fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,5 +46,6 @@ install: - if [ $WITH_LIB = "urllib31.7" ] ; then pip install certifi urllib3==1.7.1; fi - if [ $WITH_LIB = "urllib31.9" ] ; then pip install certifi urllib3==1.9.1; fi - if [ $WITH_LIB = "urllib31.10" ] ; then pip install certifi urllib3==1.10.2; fi -- if [ $WITH_LIB = "tornado" ] ; then pip install tornado==4.2 pytest-tornado pycurl; fi +- if [ $WITH_LIB = "tornado" ] ; then pip install tornado==4.2 pytest-tornado; fi +- if [ $WITH_LIB = "tornado" -a $TRAVIS_PYTHON_VERSION != "pypy" ] ; then pip install pycurl; fi script: python setup.py test diff --git a/tox.ini b/tox.ini index 6f378fa..5e1a0dd 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ deps = urllib317: urllib3==1.7.1 urllib319: urllib3==1.9.1 urllib3110: urllib3==1.10.2 - tornado: tornado - tornado: pytest-tornado - tornado: pycurl + {py26,py27,py33,py34,pypy}-tornado: tornado + {py26,py27,py33,py34,pypy}-tornado: pytest-tornado + {py26,py27,py33,py34}-tornado: pycurl boto: boto -- 2.43.0