Browse Source

Fix CircleCI test step

John Kleinschmidt 7 years ago
parent
commit
a0b04005a9
1 changed files with 2 additions and 3 deletions
  1. 2 3
      script/cibuild

+ 2 - 3
script/cibuild

@@ -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'