one final attempt

This commit is contained in:
Leijurv
2019-03-22 22:33:40 -07:00
parent 81f47d5632
commit c6ba5481d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ install:
script:
- docker run --rm cabaletta/baritone ./gradlew javadoc
- docker run --name baritone 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; cat /code/autotest/success"
- docker run --name baritone 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; cat /code/success"
- docker cp baritone:/code/dist dist
- ls dist
- cat dist/checksums.txt
@@ -132,7 +132,7 @@ public class BaritoneAutoTest implements AbstractGameEventListener, Helper {
if (GOAL.isInGoal(ctx.playerFeet())) {
System.out.println("Successfully pathed to " + ctx.playerFeet() + " in " + event.getCount() + " ticks");
try {
Files.write(Paths.get(Minecraft.getInstance().gameDir.toString(), "success"), "Success!".getBytes());
Files.write(Paths.get("success"), "Success!".getBytes());
} catch (IOException e) {
e.printStackTrace();
}