Browse Source

Testing shellcheck in travis

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

5
.travis.yml

@ -33,5 +33,6 @@ addons:
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

15
tests/tests_shellcheck.sh

@ -0,0 +1,15 @@
#!/bin/bash
# Project: Game Server Managers - LinuxGSM
# Author: Daniel Gibbs
# License: MIT License, Copyright (c) 2017 Daniel Gibbs
# Purpose: TravisCI Tests: Teamspeak 3 | Linux Game Server Management Script
# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors
# Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
# Website: https://gameservermanagers.com
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="$TRAVIS_BRANCH"
git clone
shellcheck --shell=bash --exclude=SC2154,SC2034 GameServerManagers/LinuxGSM/lgsm/functions/*
Loading…
Cancel
Save