Use DISPLAY=:99.0 on Linux CI
This commit is contained in:
parent
ddefc08ec5
commit
23b35af7f2
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue