update circle.yml to download minecraft-server.jar

This commit is contained in:
Romain Beaumont 2015-03-29 18:02:54 +02:00
parent b8742032b9
commit 50fb2ae89d

View file

@ -1,7 +1,10 @@
machine: machine:
node: node:
version: 0.10.28 version: 0.10.28
test: java:
override: version: openjdk7
- node_modules/.bin/mocha -g "packets" dependencies:
- node_modules/.bin/mocha -g "mc-server" 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