File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11language : go
22sudo : required
33go :
4- - 1.8.3
4+ - 1.11
55install : true
66
77before_script :
@@ -26,10 +26,10 @@ jobs:
2626 script :
2727 - go get -u github.com/jgautheron/goconst/cmd/goconst
2828 - bash -x scripts/travis/goConstChecker.sh
29- - stage : GoLint Checker
30- script :
31- - go get -u github.com/golang/lint/golint
32- - bash -x scripts/travis/goLintChecker.sh
29+ # - stage: GoLint Checker
30+ # script:
31+ # - go get -u github.com/golang/lint/golint
32+ # - bash -x scripts/travis/goLintChecker.sh
3333 - stage : GoCyclo Checker
3434 script :
3535 - go get github.com/fzipp/gocyclo
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
1010 "os"
1111 "time"
1212
13- "github.com/go-chassis/go-chassis/pkg /httpclient"
13+ "github.com/go-chassis/foundation /httpclient"
1414)
1515
1616// constant for the cse-collector
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ mkdir -p $HOME/gopath/src/github.com/go-chassis/
1010cd $HOME /gopath/src/github.com/go-chassis
1111git clone http://github.com/go-chassis/go-chassis
1212cd $HOME /gopath/src/github.com/go-chassis/go-chassis
13- glide install
13+ GO111MODULE=on go mod vendor
1414mkdir -p $HOME /gopath/src/github.com/go-chassis/go-chassis/vendor/github.com/huaweicse/cse-collector/
1515rsync -az ${TRAVIS_BUILD_DIR} / $HOME /gopath/src/github.com/go-chassis/go-chassis/vendor/github.com/huaweicse/cse-collector/
1616export TRAVIS_BUILD_DIR=$HOME /gopath/src/github.com/go-chassis/go-chassis/vendor/github.com/huaweicse/cse-collector/
You can’t perform that action at this time.
0 commit comments