2012-06-05 23:31:52 +00:00
|
|
|
|
|
|
|
# Use python as its the simplest language which can run a test script
|
2012-06-05 23:27:07 +00:00
|
|
|
language: python
|
2012-06-05 23:31:52 +00:00
|
|
|
|
|
|
|
# Install shunit2
|
2012-06-05 23:16:39 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install shunit2
|
2012-06-05 23:31:52 +00:00
|
|
|
|
2012-06-05 23:58:40 +00:00
|
|
|
# Create a minecraft user for testing
|
2012-06-05 23:31:52 +00:00
|
|
|
install:
|
2012-06-05 23:58:40 +00:00
|
|
|
- sudo adduser --system minecraft
|
2012-06-05 23:31:52 +00:00
|
|
|
|
|
|
|
# Run the test script
|
2012-06-05 23:43:36 +00:00
|
|
|
script: sudo /bin/bash ./test.sh
|