File tree 8 files changed +9
-13
lines changed
8 files changed +9
-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 @@ -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