Fix CircleCI test step

This commit is contained in:
John Kleinschmidt
2017-09-13 11:24:53 -04:00
parent a7d3cea6e8
commit a0b04005a9

View File

@@ -55,10 +55,9 @@ def main():
deps += LINUX_DEPS_ARM
execute(['sudo', 'apt-get', 'install'] + deps)
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
if PLATFORM == 'linux':
if PLATFORM == 'linux' and target_arch == 'x64':
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'