Fixing build errors
This commit is contained in:
parent
5fcec92929
commit
ee8578119f
|
@ -14,10 +14,10 @@ dependencies:
|
|||
cache_directories:
|
||||
- "~/opus"
|
||||
- "~/bin"
|
||||
- "~/gopath/bin"
|
||||
- "~/gopath/pkg"
|
||||
- "~/gopath/src/github.com/nitrous-io"
|
||||
- "~/gopath/src/github.com/MichaelOultram/mumbledj/.vendor"
|
||||
- "/usr/local/go/bin"
|
||||
- "/usr/local/go/pkg"
|
||||
- "/usr/local/go/src/github.com/nitrous-io"
|
||||
- "~/.vendor"
|
||||
test:
|
||||
override:
|
||||
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:
|
||||
|
|
5
test.go
5
test.go
|
@ -36,8 +36,9 @@ func (t TestSettings) createClient(uname string) *gumble.Client {
|
|||
|
||||
func (t TestSettings) testYoutubeSong() {
|
||||
dummyClient := t.createClient("dummy")
|
||||
dummyClient.Connect()
|
||||
time.Sleep(time.Second * 5) // Give dummy time to connect
|
||||
if err := dummyClient.Connect(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
dummyUser := dj.client.Users.Find("dummy") // May be nil
|
||||
|
||||
// Don't judge, I used the (autogenerated) Top Tracks for United Kingdom playlist
|
||||
|
|
Reference in a new issue