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-18 00:59:57 +00:00
|
|
|
# Print out the bash version
|
|
|
|
- sudo /bin/bash --version
|
2016-01-16 00:23:29 +00:00
|
|
|
# Update Package Lists
|
|
|
|
- sudo apt-get -qq update
|
2012-06-18 00:59:57 +00:00
|
|
|
# Install dependencies
|
2016-01-16 00:23:29 +00:00
|
|
|
- sudo apt-get install -y shunit2
|
2012-11-03 23:12:07 +00:00
|
|
|
# Remove this troublesome script
|
|
|
|
- sudo rm -f /etc/profile.d/phpenv.sh
|
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-18 01:16:10 +00:00
|
|
|
- sudo adduser --system minecraft
|
2012-06-18 00:59:57 +00:00
|
|
|
|
2012-06-05 23:31:52 +00:00
|
|
|
# Run the test script
|
2012-06-18 00:59:57 +00:00
|
|
|
script: sudo /bin/bash ./test.sh
|
|
|
|
|
|
|
|
branches:
|
2012-06-18 01:16:10 +00:00
|
|
|
only:
|
2016-01-16 00:23:29 +00:00
|
|
|
- master
|