From 24c25dfc788c94be6803b7250c52ae286e37ed79 Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Wed, 6 Jun 2012 00:58:40 +0100 Subject: [PATCH] Updated .travis.yml to create a "minecraft" user before testing. Also removed the "apt-get update" command to see if we can do without it. --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a31472c..6c13ff2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,12 +4,11 @@ language: python # Install shunit2 before_install: - - sudo apt-get update - sudo apt-get install shunit2 -# Override the default Travis python installation with nothing +# Create a minecraft user for testing install: - - echo "No installation necessary" + - sudo adduser --system minecraft # Run the test script script: sudo /bin/bash ./test.sh \ No newline at end of file