Fixing build errors

This commit is contained in:
MichaelOultram 2015-08-12 21:28:54 +01:00
parent a5fd345959
commit aaa4694980
2 changed files with 4 additions and 3 deletions

View file

@ -14,9 +14,9 @@ dependencies:
cache_directories: cache_directories:
- "~/opus" - "~/opus"
- "~/bin" - "~/bin"
- "/usr/local/go/bin" - "$(GOPATH)/src/github.com/nitrous-io"
- "/usr/local/go/src/github.com/nitrous-io"
- "~/.vendor" - "~/.vendor"
- "$(GOPATH)/bin/goop"
test: test:
override: override:
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true: - mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:

View file

@ -43,7 +43,8 @@ func (t TestSettings) testYoutubeSong() {
// if err := dummyClient.Connect(); err != nil { // if err := dummyClient.Connect(); err != nil {
// panic(err) // panic(err)
// } // }
if dummyUser := dj.client.Users.Find("BottleOToast"); dummyUser == nil { dummyUser := dj.client.Users.Find("BottleOToast")
if dummyUser == nil {
fmt.Printf("User does not exist") fmt.Printf("User does not exist")
os.Exit(1) os.Exit(1)
} }