]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Don't install pycurl if pypy is being used.
authorAbhinav Gupta <abg@uber.com>
Thu, 2 Jul 2015 23:17:34 +0000 (16:17 -0700)
committerAbhinav Gupta <abg@uber.com>
Fri, 3 Jul 2015 00:14:00 +0000 (17:14 -0700)
Pycurl doesn't yet support pypy.

.travis.yml
tox.ini

index 15910b184755d17be12e837a9ec0d707defec1fc..d9ce0fa6197c1bb86dd63cbef90be0698267d3dd 100644 (file)
@@ -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 6f378fa4c599eb88ec26fbaf3f94d46849190c35..5e1a0dd656410c88ff1cb902647dcae2aea770e1 100644 (file)
--- 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