Fix testing fork prs (#11127)

* Make sure DISPLAY is set before XVFB runs
This commit is contained in:
John Kleinschmidt 2017-11-15 10:47:36 -05:00 committed by GitHub
parent 3a1106d026
commit f8dd04e5f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,6 @@ jobs:
resource_class: xlarge
steps:
- checkout
- run:
name: Setup for headless testing
command: sh -e /etc/init.d/xvfb start
- run:
name: Check for release
command: |
@ -73,9 +70,6 @@ jobs:
resource_class: xlarge
steps:
- checkout
- run:
name: Setup for headless testing
command: sh -e /etc/init.d/xvfb start
- run:
name: Check for release
command: |
@ -137,9 +131,6 @@ jobs:
resource_class: xlarge
steps:
- checkout
- run:
name: Setup for headless testing
command: sh -e /etc/init.d/xvfb start
- run:
name: Check for release
command: |
@ -199,6 +190,7 @@ jobs:
- image: electronbuilds/electron:0.0.3
environment:
TARGET_ARCH: x64
DISPLAY: ':99.0'
resource_class: xlarge
steps:
- checkout