From af9b4d840581136b2ec8b0e4b79a37eb7d37731c Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 10 Aug 2015 19:17:16 +0100 Subject: [PATCH] Trying to get tests to run --- .travis.yml | 2 +- main.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16ee276..88a86ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,4 +21,4 @@ script: - make install after_success: - - mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=travis -password=$MUMBLE_PASSWORD -test=true \ No newline at end of file + - mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=travis -password=$MUMBLE_PASSWORD -verbose=true -test=true \ No newline at end of file diff --git a/main.go b/main.go index d315ebc..f59a93c 100644 --- a/main.go +++ b/main.go @@ -253,11 +253,11 @@ func main() { if isNil(web) { Verbose("WEB IS NIL") } - + + <-dj.keepAlive + if test { Test(password, address, port) kill() } - - <-dj.keepAlive }