mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
fb3e09f4e5
Should fix Build Failure Updates Package Listings Before Installing `shunit2`
24 lines
525 B
YAML
24 lines
525 B
YAML
# 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
|