fix test working directory

This commit is contained in:
Leijurv 2018-09-02 19:58:06 -07:00
parent d7cf6b1438
commit 805b870d7d
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -9,5 +9,5 @@ install: true
script: script:
- docker build -t cabaletta/baritone . - docker build -t cabaletta/baritone .
- docker run cabaletta/baritone "./gradlew test" - 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" - 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"