File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ services:
99- docker
1010
1111before_install :
12- - sudo apt-get update
1312 - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install docker-ce
1413 - sudo apt-get install golang -y
1514 - docker version
@@ -28,7 +27,9 @@ install:
2827
2928script :
3029- make integrate
30+ - export GOPROXY=https://goproxy.cn
3131- export GO111MODULE=on
32+ - go mod tidy
3233 # golang 1.12 will change the permission of go.mod and go.sum
3334 # use chmod to reset the permission of go.mod and go.sum to make go test happy
3435- sudo chmod 644 go.mod go.sum
Original file line number Diff line number Diff line change @@ -46,5 +46,5 @@ require (
4646 github.com/ugorji/go v1.1.4
4747 github.com/xxtea/xxtea-go v0.0.0-20170828040851-35c4b17eecf6
4848 golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c // indirect
49- golang.org/x/tools v0.0.0-20190624222133-a101b041ded4 // indirect
49+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
5050)
Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af h1:pmfjZENx5i
122122github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af /go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k =
123123github.com/journeymidnight/aws-sdk-go v1.17.5 h1:fXF7G+rEq+I1cbtIhRgCVjqC5Zj46usmF8+7Waat8Zc =
124124github.com/journeymidnight/aws-sdk-go v1.17.5 /go.mod h1:bPAdbt/vJ+eG/DJ2q1rFWIAEF+VWvld83i27b/SFRJg =
125- github.com/journeymidnight/radoshttpd v0.0.0-20180423094851-048fda5702ec h1:LmYJ1HYxz3pJDE6orUGJifbhcyfvYvfDFGahs508V68 =
126- github.com/journeymidnight/radoshttpd v0.0.0-20180423094851-048fda5702ec /go.mod h1:crzxK1DDd3sNyFWzwbx/84lTNk4TO4wsvjl186nH+R4 =
127125github.com/journeymidnight/radoshttpd v0.0.0-20190617133011-609666b51136 h1:ioRwpqJIOz8DOhriRNkd2/DYXYLi44N61N9MnjozzuM =
128126github.com/journeymidnight/radoshttpd v0.0.0-20190617133011-609666b51136 /go.mod h1:crzxK1DDd3sNyFWzwbx/84lTNk4TO4wsvjl186nH+R4 =
129127github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024 /go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU =
@@ -197,6 +195,7 @@ github.com/xxtea/xxtea-go v0.0.0-20170828040851-35c4b17eecf6/go.mod h1:2uvuCBt0V
197195go.opencensus.io v0.20.1 /go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk =
198196gopkg.in/alecthomas/kingpin.v2 v2.2.6 /go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw =
199197gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d /go.mod h1:cuepJuh7vyXfUyUwEgHQXw849cJrilpS5NeIjOWESAw =
198+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
200199gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
201200gopkg.in/fsnotify.v1 v1.4.7 /go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys =
202201gopkg.in/square/go-jose.v2 v2.3.1 h1:SK5KegNXmKmqE342YYN2qPHEnUYeoMiXXl1poUlI+o4 =
Original file line number Diff line number Diff line change 11BASEDIR=$( dirname $( pwd) )
2- sudo docker run --rm -v ${BASEDIR} :/work -w /work journeymidnight/yig bash -c ' make build_internal'
2+ sudo docker run --rm -v ${BASEDIR} :/work -w /work journeymidnight/yig bash -c ' export GOPROXY=https://goproxy.cn; make build_internal'
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Requires: librdkafka1
2828#The go build still use source code in GOPATH/src/legitlab/yig/
2929#keep git source tree clean, better ways to build?
3030#I do not know
31+ export GOPROXY=https://goproxy.cn
3132make build_internal
3233
3334%install
You can’t perform that action at this time.
0 commit comments