Browse Source

finalising tests

pull/1986/head
Daniel Gibbs 7 years ago
parent
commit
9b0309b799
  1. 5
      .travis.yml
  2. 5
      tests/tests_shellcheck.sh

5
.travis.yml

@ -33,7 +33,6 @@ addons:
- shellcheck
script:
#- bash tests/tests_jc2server.sh
#- bash tests/tests_ts3server.sh
- bash tests/tests_jc2server.sh
- bash tests/tests_ts3server.sh
- bash tests/tests_shellcheck.sh

5
tests/tests_shellcheck.sh

@ -7,5 +7,10 @@
# Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
# Website: https://gameservermanagers.com
echo "START Shellcheck"
echo "================================="
find . -type f -name "*.sh" -not -path "./shunit2-2.1.6/*" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
find . -type f -name "*.cfg" -not -path "./shunit2-2.1.6/*" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
echo "================================="
echo "END Shellcheck"
Loading…
Cancel
Save