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.
This commit is contained in:
Marcus Whybrow
2012-06-06 00:58:40 +01:00
parent 7fbadc2502
commit 24c25dfc78

View File

@ -4,12 +4,11 @@ language: python
# Install shunit2 # Install shunit2
before_install: before_install:
- sudo apt-get update
- sudo apt-get install shunit2 - sudo apt-get install shunit2
# Override the default Travis python installation with nothing # Create a minecraft user for testing
install: install:
- echo "No installation necessary" - sudo adduser --system minecraft
# Run the test script # Run the test script
script: sudo /bin/bash ./test.sh script: sudo /bin/bash ./test.sh