From a720e52568db52fab43777e77803b31f71a9f5ee Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jul 2015 12:04:27 +0800 Subject: [PATCH] Set DISPLAY in CI machine --- script/cibuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/cibuild b/script/cibuild index 1d03314f..a23ce30e 100755 --- a/script/cibuild +++ b/script/cibuild @@ -43,9 +43,11 @@ def main(): deps += LINUX_DEPS_ARM execute(['sudo', 'apt-get', 'install'] + deps) - os.environ['DISPLAY'] = ':99.0' execute(['sh', '-e', '/etc/init.d/xvfb', 'start']) + if PLATFORM == 'linux': + os.environ['DISPLAY'] = ':99.0' + rm_rf(os.path.join(SOURCE_ROOT, 'out')) rm_rf(os.path.join(SOURCE_ROOT, 'frameworks')) rm_rf(os.path.join(SOURCE_ROOT, 'external_binaries')) -- 2.43.0