msm/.travis.yml

24 lines
525 B
YAML
Raw Normal View History

# Use python as its the simplest language which can run a test script
language: python
before_install:
# Print out the bash version
- sudo /bin/bash --version
# Update Package Lists
- sudo apt-get -qq update
# Install dependencies
- sudo apt-get install -y shunit2
# Remove this troublesome script
- sudo rm -f /etc/profile.d/phpenv.sh
# Create a minecraft user for testing
install:
- sudo adduser --system minecraft
# Run the test script
script: sudo /bin/bash ./test.sh
branches:
only:
- master