Add xvfb-init.sh to docker context
This commit is contained in:
parent
c3e0e4682d
commit
f1036f7305
2 changed files with 4 additions and 3 deletions
|
@ -1 +1,2 @@
|
|||
*
|
||||
!tools/xvfb-init.sh
|
||||
|
|
|
@ -60,9 +60,9 @@ def main():
|
|||
deps += LINUX_DEPS_NO_ARM
|
||||
execute(['sudo', 'apt-get', 'install'] + deps)
|
||||
|
||||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
|
||||
# CI's npm is not reliable.
|
||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||
|
|
Loading…
Reference in a new issue