Commit 936b1174 authored by Jason Madden's avatar Jason Madden

ares is not optional on appveyor anymore either, it should always build

parent 5f4a9ef8
...@@ -23,7 +23,7 @@ from _setuputils import LIBRARIES ...@@ -23,7 +23,7 @@ from _setuputils import LIBRARIES
from _setuputils import DEFINE_MACROS from _setuputils import DEFINE_MACROS
from _setuputils import glob_many from _setuputils import glob_many
from _setuputils import dep_abspath from _setuputils import dep_abspath
from _setuputils import RUNNING_ON_TRAVIS from _setuputils import RUNNING_ON_CI
CARES_EMBED = should_embed('c-ares') CARES_EMBED = should_embed('c-ares')
...@@ -86,7 +86,7 @@ ARES = Extension(name='gevent.ares', ...@@ -86,7 +86,7 @@ ARES = Extension(name='gevent.ares',
depends=glob_many('src/gevent/dnshelper.c', depends=glob_many('src/gevent/dnshelper.c',
'src/gevent/cares_*.[ch]')) 'src/gevent/cares_*.[ch]'))
ARES.optional = not RUNNING_ON_TRAVIS ARES.optional = not RUNNING_ON_CI
if CARES_EMBED: if CARES_EMBED:
......
...@@ -23,6 +23,8 @@ PYPY = hasattr(sys, 'pypy_version_info') ...@@ -23,6 +23,8 @@ PYPY = hasattr(sys, 'pypy_version_info')
WIN = sys.platform.startswith('win') WIN = sys.platform.startswith('win')
CFFI_WIN_BUILD_ANYWAY = os.environ.get("PYPY_WIN_BUILD_ANYWAY") CFFI_WIN_BUILD_ANYWAY = os.environ.get("PYPY_WIN_BUILD_ANYWAY")
RUNNING_ON_TRAVIS = os.environ.get('TRAVIS') RUNNING_ON_TRAVIS = os.environ.get('TRAVIS')
RUNNING_ON_APPVEYOR = os.environ.get('APPVEYOR')
RUNNING_ON_CI = RUNNING_ON_TRAVIS or RUNNING_ON_APPVEYOR
LIBRARIES = [] LIBRARIES = []
DEFINE_MACROS = [] DEFINE_MACROS = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment