diff --git a/script/cibuild b/script/cibuild index c8ad4a6dec33..f481c2869afe 100755 --- a/script/cibuild +++ b/script/cibuild @@ -23,9 +23,13 @@ def main(): is_travis = (os.getenv('TRAVIS') == 'true') if is_travis and sys.platform == 'linux2': + print 'Setup travis CI' execute(['sudo', 'apt-get', 'update']) execute(['sudo', 'apt-get', 'install'] + LINUX_DEPS) + os.environ['DISPLAY'] = ':99.0' + execute(['sh', '-e', '/etc/init.d/xvfb', 'start']) + rm_rf(os.path.join(SOURCE_ROOT, 'out')) rm_rf(os.path.join(SOURCE_ROOT, 'node_modules')) rm_rf(os.path.join(SOURCE_ROOT, 'frameworks'))