From 043b44d315333c296cdad2a6ec562be8a8b231eb Mon Sep 17 00:00:00 2001
From: Daniel Gibbs <me@danielgibbs.co.uk>
Date: Sun, 13 Nov 2016 21:13:12 +0000
Subject: [PATCH] Added bypass for travis tests

---
 lgsm/functions/check_ip.sh | 2 +-
 tests/tests_jc2server.sh   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lgsm/functions/check_ip.sh b/lgsm/functions/check_ip.sh
index c51015299..8141c534e 100644
--- a/lgsm/functions/check_ip.sh
+++ b/lgsm/functions/check_ip.sh
@@ -8,7 +8,7 @@
 local commandname="CHECK"
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
-if [ "${gamename}" != "TeamSpeak 3" ] && [ "${gamename}" != "Mumble" ]; then
+if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travistest}" != "1" ]; then
 	if [ ! -f "/bin/ip" ]; then
 		ipcommand="/sbin/ip"
 	else
diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh
index a7886d81e..0563e0556 100644
--- a/tests/tests_jc2server.sh
+++ b/tests/tests_jc2server.sh
@@ -8,7 +8,7 @@
 # Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
 # Website: https://gameservermanagers.com
 
-version="101716"
+travistest=1
 
 # Debugging
 if [ -f ".dev-debug" ]; then