From 3d63abe950ab018f8573f5b28b07d49e476a290f Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 2 Sep 2018 20:54:26 -0700 Subject: [PATCH] smaller --- .travis.yml | 2 +- Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a90e70ec2..20fca03ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ install: true script: - docker build -t cabaletta/baritone . - docker run cabaletta/baritone /bin/sh -c "./gradlew test" -- docker run cabaletta/baritone /bin/sh -c "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render; DISPLAY=:99 ./gradlew run" \ No newline at end of file +- docker run cabaletta/baritone /bin/sh -c "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 128x128x24 -ac +extension GLX +render; DISPLAY=:99 BARITONE_AUTO_TEST=true ./gradlew runClient" \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4f128e6fb..5e435e7d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr ADD . /code +RUN echo "\nrunClient {\nargs \"--width\",\"128\",\"--height\",\"128\"\n}" >> /code/build.gradle + RUN dpkg -i /code/xvfb_1.16.4-1_amd64.deb WORKDIR /code