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
|
|
|
|
2012-06-05 23:16:39 +00:00
|
|
|
before_install:
|
2012-06-06 00:31:21 +00:00
|
|
|
# Print out the bash version
|
|
|
|
- sudo /bin/bash --version
|
|
|
|
# Install dependencies
|
2012-06-05 23:16:39 +00:00
|
|
|
- sudo apt-get install shunit2
|
2012-06-06 00:31:21 +00:00
|
|
|
# Debug output the contents of this script which is causing errors
|
|
|
|
- echo -e "\n\n\n"
|
2012-06-06 00:36:40 +00:00
|
|
|
- sudo ls -lah /etc/profile.d
|
2012-06-06 00:31:21 +00:00
|
|
|
- sudo cat /etc/profile.d/phpenv.sh
|
|
|
|
- echo -e "\n\n\n"
|
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
|