From: Abhinav Gupta Date: Thu, 2 Jul 2015 23:17:34 +0000 (-0700) Subject: Don't install pycurl if pypy is being used. X-Git-Tag: v1.6.0~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c37d607b97ebbbfc88726267bf1a2795d5048bca;p=vcrpy.git Don't install pycurl if pypy is being used. Pycurl doesn't yet support pypy. --- 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