From 50fb2ae89daab1f35a9ad926991a9b3f41d6db4f Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Sun, 29 Mar 2015 18:02:54 +0200 Subject: [PATCH] update circle.yml to download minecraft-server.jar --- circle.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index 33950f9..018582b 100644 --- a/circle.yml +++ b/circle.yml @@ -1,7 +1,10 @@ machine: node: version: 0.10.28 -test: - override: - - node_modules/.bin/mocha -g "packets" - - node_modules/.bin/mocha -g "mc-server" + java: + version: openjdk7 +dependencies: + pre: + - mkdir minecraft-server + - wget https://s3.amazonaws.com/Minecraft.Download/versions/1.8.3/minecraft_server.1.8.3.jar -O minecraft-server/minecraft_server.1.8.3.jar + - export MC_SERVER_JAR=`pwd`/minecraft-server/minecraft_server.1.8.3.jar