From da20a0539982bba9de3a30f720e4ebb69bbbfbbd Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sun, 27 Oct 2019 07:09:33 +0900 Subject: travis: update go to 1.13 Needs to update staticcheck for go 1.13. Signed-off-by: FUJITA Tomonori --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index f894115d..503885ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ language: go _unittest: &_unittest - go: "1.12" + go: "1.13" script: - go test $([ $(go env GOARCH) == 'amd64' ] && echo '-race') -timeout 240s ./... - if [ "$(go env GOARCH)" = "amd64" ]; then go test -race github.com/osrg/gobgp/pkg/packet/bgp -run ^Test_RaceCondition$; else echo 'skip'; fi _build: &_build - go: "1.12" + go: "1.13" script: - go build -o ./cmd/gobgp/gobgp ./cmd/gobgp/ - go build -o ./cmd/gobgpd/gobgpd ./cmd/gobgpd/ @@ -58,11 +58,11 @@ matrix: - <<: *_unittest env: - DESCRIPTION="Unit Tests" - go: "1.12" + go: "1.13" - <<: *_unittest env: - DESCRIPTION="Tests + cover" - go: "1.12" + go: "1.13" script: - go test -coverprofile=coverage.txt -covermode=atomic ./... after_success: @@ -101,7 +101,7 @@ matrix: # # Misc # - - go: "1.12" + - go: "1.13" env: - DESCRIPTION="go fmt + vet + staticcheck" before_script: go get -u honnef.co/go/tools/cmd/staticcheck @@ -109,7 +109,7 @@ matrix: - test -z "$(go fmt ./...)" - go vet ./... - staticcheck ./... - - go: "1.12" + - go: "1.13" env: - DESCRIPTION="build_embeded_go.py" script: python test/scenario_test/ci-scripts/build_embeded_go.py docs/sources/lib.md -- cgit v1.2.3