Fixing build errors
This commit is contained in:
parent
a5fd345959
commit
aaa4694980
|
@ -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:
|
||||||
|
|
3
test.go
3
test.go
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue