Use DISPLAY=:99.0 on Linux CI

This commit is contained in:
Kevin Sawicki 2017-07-21 13:52:26 -07:00 committed by Aleksei Kuzmin
parent ddefc08ec5
commit 23b35af7f2
2 changed files with 2 additions and 2 deletions

View file

@ -62,8 +62,9 @@ def main():
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
os.environ['DISPLAY'] = ':99.0'
if PLATFORM == 'linux':
os.environ['DISPLAY'] = ':99.0'
# CI's npm is not reliable.
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'