File tree 10 files changed +33
-13
lines changed
10 files changed +33
-13
lines changed Original file line number Diff line number Diff line change 10
10
- 1.11
11
11
- 1.12
12
12
- tip
13
- install :
14
- - go get github.com/stretchr/testify/assert
15
- - go get github.com/axw/gocov/gocov
13
+ before_script :
16
14
- go get github.com/mattn/goveralls
17
- - go get golang.org/x/crypto/nacl/secretbox
18
- - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
19
- - $HOME/gopath/bin/goveralls -service=travis-ci -repotoken=$COVERALLS_TOKEN
15
+ - PATH=$PATH:$HOME/gopath/bin goveralls -service=travis-ci -repotoken=$COVERALLS_TOKEN
20
16
script :
21
17
- go test
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package pusher
3
3
import (
4
4
"testing"
5
5
6
- "github.com /stretchr/testify/assert"
6
+ "gopkg.in /stretchr/testify.v1 /assert"
7
7
)
8
8
9
9
func setUpAuthClient () Client {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"testing"
11
11
"time"
12
12
13
- "github.com /stretchr/testify/assert"
13
+ "gopkg.in /stretchr/testify.v1 /assert"
14
14
)
15
15
16
16
func TestTriggerSuccessCase (t * testing.T ) {
Original file line number Diff line number Diff line change 4
4
"encoding/hex"
5
5
"testing"
6
6
7
- "github.com /stretchr/testify/assert"
7
+ "gopkg.in /stretchr/testify.v1 /assert"
8
8
)
9
9
10
10
func TestHmacSignature (t * testing.T ) {
Original file line number Diff line number Diff line change
1
+ module github.com/pusher/pusher-http-go
2
+
3
+ go 1.14
4
+
5
+ require (
6
+ github.com/davecgh/go-spew v1.1.0 // indirect
7
+ github.com/pmezard/go-difflib v1.0.0 // indirect
8
+ golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
9
+ gopkg.in/stretchr/testify.v1 v1.2.2
10
+ )
Original file line number Diff line number Diff line change
1
+ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 =
2
+ github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
3
+ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
4
+ github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
5
+ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 /go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w =
6
+ golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 h1:DZhuSZLsGlFL4CmhA8BcRA0mnthyA/nZ00AqCUo7vHg =
7
+ golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 /go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto =
8
+ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 /go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg =
9
+ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
10
+ golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI =
11
+ golang.org/x/sys v0.0.0-20190412213103-97732733099d /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
12
+ golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
13
+ gopkg.in/stretchr/testify.v1 v1.2.2 h1:yhQC6Uy5CqibAIlk1wlusa/MJ3iAN49/BsR/dCCKz3M =
14
+ gopkg.in/stretchr/testify.v1 v1.2.2 /go.mod h1:QI5V/q6UbPmuhtm10CaFZxED9NreB8PnFYN9JcR6TxU =
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package pusher
3
3
import (
4
4
"testing"
5
5
6
- "github.com /stretchr/testify/assert"
6
+ "gopkg.in /stretchr/testify.v1 /assert"
7
7
)
8
8
9
9
func TestTriggerRequestUrl (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package pusher
3
3
import (
4
4
"testing"
5
5
6
- "github.com /stretchr/testify/assert"
6
+ "gopkg.in /stretchr/testify.v1 /assert"
7
7
)
8
8
9
9
func TestParsingChannelsList (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package pusher
3
3
import (
4
4
"testing"
5
5
6
- "github.com /stretchr/testify/assert"
6
+ "gopkg.in /stretchr/testify.v1 /assert"
7
7
)
8
8
9
9
func TestParseAuthRequestParamsNoSock (t * testing.T ) {
Original file line number Diff line number Diff line change 4
4
"net/http"
5
5
"testing"
6
6
7
- "github.com /stretchr/testify/assert"
7
+ "gopkg.in /stretchr/testify.v1 /assert"
8
8
)
9
9
10
10
func setUpClient () Client {
You can’t perform that action at this time.
0 commit comments