From a9856da2c3360fa3b1f26b1152177bf83587dfd3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 7 Jan 2017 22:11:23 +0530 Subject: [PATCH] Disable check for glew version on travis --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0fc2991cd..304230abe 100755 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ def init_env(debug=False, asan=False): ldflags += shlex.split(os.environ.get('LDFLAGS', '')) cflags.append('-pthread') - if subprocess.Popen('pkg-config --atleast-version=2 glew'.split()).wait() != 0: + if not is_travis and subprocess.Popen('pkg-config --atleast-version=2 glew'.split()).wait() != 0: try: ver = subprocess.check_output('pkg-config --modversion glew'.split()).decode('utf-8').strip() except Exception: