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