From 8c03a75cb74af533afc44f3907f51f0b8d9910e8 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 2 Sep 2018 15:08:04 -0700 Subject: [PATCH 1/5] create minecraft x window with xvfb-run --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 47024493..333de7eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ install: true script: - ./gradlew check -- ./gradlew run +- xvfb-run ./gradlew run From e4560406611e5e8dede5c18a8bd3fe4a75d64c32 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 2 Sep 2018 15:14:12 -0700 Subject: [PATCH 2/5] add lwjgl opengl extensions to xvfb for travis minecraft load --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 333de7eb..26d8ecd3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,5 @@ install: true script: - ./gradlew check -- xvfb-run ./gradlew run +- sudo apt-get install -qq --force-yes mesa-utils libgl1-mesa-swx11 libgl1-mesa-swx11-dev xvfb +- /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render ./gradlew run From c05b02484ad698bb1c2e4b15c438d46b44a3721b Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 2 Sep 2018 15:17:48 -0700 Subject: [PATCH 3/5] extra option --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 26d8ecd3..32c5873a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,4 @@ install: true script: - ./gradlew check - sudo apt-get install -qq --force-yes mesa-utils libgl1-mesa-swx11 libgl1-mesa-swx11-dev xvfb -- /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render ./gradlew run +- /usr/bin/Xvfb :99 -screen 0 1400x900x24 -ac +extension GLX +render ./gradlew run From 4c864a433fb1c9df1957481ad64d308cb825c064 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 2 Sep 2018 15:21:56 -0700 Subject: [PATCH 4/5] run version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 32c5873a..2db25503 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,4 @@ install: true script: - ./gradlew check - sudo apt-get install -qq --force-yes mesa-utils libgl1-mesa-swx11 libgl1-mesa-swx11-dev xvfb -- /usr/bin/Xvfb :99 -screen 0 1400x900x24 -ac +extension GLX +render ./gradlew run +- xvfb-run :99 -screen 0 1400x900x24 -ac +extension GLX +render ./gradlew run From 4363cb20f35011b8e126c105555a5ec91e52e083 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 2 Sep 2018 15:27:57 -0700 Subject: [PATCH 5/5] try again --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2db25503..e7cae8cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,4 @@ install: true script: - ./gradlew check - sudo apt-get install -qq --force-yes mesa-utils libgl1-mesa-swx11 libgl1-mesa-swx11-dev xvfb -- xvfb-run :99 -screen 0 1400x900x24 -ac +extension GLX +render ./gradlew run +- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/xvfb-run -- :99 -screen 0 1400x900x24 -ac +extension GLX +render ./gradlew run