Trying to work out why dummy won't connect

This commit is contained in:
MichaelOultram 2015-08-12 20:34:32 +01:00
parent c6c58c4d11
commit 5fcec92929
3 changed files with 9 additions and 9 deletions

View file

@ -12,12 +12,12 @@ dependencies:
- make
- make install
cache_directories:
- "opus"
- "bin"
- "gopath/bin"
- "gopath/pkg"
- "gopath/src/github.com/nitrous-io"
- "gopath/src/github.com/MichaelOultram/mumbledj/.vendor"
- "~/opus"
- "~/bin"
- "~/gopath/bin"
- "~/gopath/pkg"
- "~/gopath/src/github.com/nitrous-io"
- "~/gopath/src/github.com/MichaelOultram/mumbledj/.vendor"
test:
override:
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:

View file

@ -249,7 +249,7 @@ func main() {
if testcode {
Verbose("Testing is enabled")
Test(password, address, port, accesstokens)
Test(password, address, port, strings.Split(accesstokens, " "))
}
web = NewWebServer(9563)

View file

@ -15,12 +15,12 @@ type TestSettings struct {
var test TestSettings
func Test(password, ip, port, accesstokens string) {
func Test(password, ip, port string, accesstokens []string) {
test = TestSettings{
password: password,
ip: ip,
port: port,
accesstokens: strings.Split(accesstokens, " "),
accesstokens: accesstokens,
}
test.testYoutubeSong()
}