File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
- 1.6.x
5
5
- 1.7.x
6
6
- 1.8.x
7
+ - 1.9.x
7
8
- tip
8
9
9
10
before_install :
10
- - go get ./...
11
+ - go get gopkg.in/alecthomas/kingpin.v2
11
12
- go get github.com/axw/gocov/gocov
12
13
- go get github.com/mattn/goveralls
13
14
- go get github.com/stretchr/testify/assert
15
+ - go get github.com/kardianos/govendor
14
16
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
15
17
16
18
install :
17
- - go get golang.org/x/net/http2
18
- - go get golang.org/x/net/context
19
- - go get golang.org/x/crypto/pkcs12
19
+ - $HOME/gopath/bin/govendor sync
20
20
21
21
os :
22
22
- linux
23
23
24
24
script :
25
- - go test -race -v ./...
25
+ - $HOME/gopath/bin/govendor test -race -v +local
26
26
- $HOME/gopath/bin/goveralls -service=travis-ci
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ func TestClientNameToCertificate(t *testing.T) {
81
81
}
82
82
83
83
func TestDialTLSTimeout (t * testing.T ) {
84
- apns .TLSDialTimeout = 1 * time .Millisecond
84
+ apns .TLSDialTimeout = 10 * time .Millisecond
85
85
crt , _ := certificate .FromP12File ("certificate/_fixtures/certificate-valid.p12" , "" )
86
86
client := apns .NewClient (crt )
87
87
dialTLS := client .HTTPClient .Transport .(* http2.Transport ).DialTLS
You can’t perform that action at this time.
0 commit comments