This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : go
3
3
go :
4
- - 1.6.3
5
- - 1.7.1
4
+ - 1.7.3
6
5
before_install :
7
6
- bash scripts/gitcookie.sh
8
7
- go get github.com/smartystreets/goconvey/convey
16
15
- SNAP_TEST_TYPE=small
17
16
- SNAP_TEST_TYPE=medium
18
17
- SNAP_TEST_TYPE=build
19
- matrix :
20
- exclude :
21
- - go : 1.6.3
22
- env : SNAP_TEST_TYPE=build
23
18
install :
24
19
- export TMPDIR=$HOME/tmp
25
20
- mkdir -p $TMPDIR
@@ -48,7 +43,7 @@ deploy:
48
43
on :
49
44
repo : intelsdi-x/snap
50
45
branch : master
51
- condition : $SNAP_TEST_TYPE = build && $TRAVIS_GO_VERSION = "1.7.1 "
46
+ condition : $SNAP_TEST_TYPE = build && $TRAVIS_GO_VERSION = "1.7.3 "
52
47
- provider : s3
53
48
access_key_id : AKIAINMB43VSSPFZISAA
54
49
secret_access_key :
@@ -62,4 +57,4 @@ deploy:
62
57
on :
63
58
repo : intelsdi-x/snap
64
59
tags : true
65
- condition : $SNAP_TEST_TYPE = build && $TRAVIS_GO_VERSION = "1.7.1 "
60
+ condition : $SNAP_TEST_TYPE = build && $TRAVIS_GO_VERSION = "1.7.3 "
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import (
34
34
"os"
35
35
"path/filepath"
36
36
"strings"
37
+ "time"
37
38
38
39
"github.com/asaskevich/govalidator"
39
40
@@ -104,9 +105,11 @@ func Username(u string) metaOp {
104
105
var (
105
106
secureTransport = & http.Transport {
106
107
TLSClientConfig : & tls.Config {InsecureSkipVerify : false },
108
+ IdleConnTimeout : time .Second ,
107
109
}
108
110
insecureTransport = & http.Transport {
109
111
TLSClientConfig : & tls.Config {InsecureSkipVerify : true },
112
+ IdleConnTimeout : time .Second ,
110
113
}
111
114
)
112
115
You can’t perform that action at this time.
0 commit comments