diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7cd097b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Run tests +on: + push: + branches-ignore: + - 'gh-pages' + pull_request: + branches-ignore: + - 'gh-pages' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + run: sudo apt-get install shunit2 + - name: Check out branch + uses: actions/checkout@v2 + - name: Create the minecraft user + run: sudo adduser --system minecraft + - name: Run tests + run: sudo /bin/bash ./test.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9f67ef0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -# 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 diff --git a/README.markdown b/README.markdown index 2527a2b..f3a8818 100644 --- a/README.markdown +++ b/README.markdown @@ -1,9 +1,4 @@ -# Minecraft Server Manager [![Build Status][status-img]][status] [![Donate to MSM][donate-img]][donate] - -[status-img]: https://api.travis-ci.org/msmhq/msm.svg?branch=master -[status]: http://travis-ci.org/msmhq/msm -[donate-img]: https://www.paypalobjects.com/en_GB/i/btn/btn_donate_SM.gif -[donate]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z7XQDNF7U5GLL +# Minecraft Server Manager A single init script which makes running multiple Minecraft/Bukkit servers easier for us admins.