Configure spec UI to run in docker container
This commit is contained in:
parent
5737f8b74e
commit
29dc06c89d
3 changed files with 8 additions and 1 deletions
|
@ -62,9 +62,9 @@ def main():
|
|||
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
|
||||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
|
||||
|
||||
# CI's npm is not reliable.
|
||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||
execute([npm, 'install', 'npm@2.12.1'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue