summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-10-27 07:09:33 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-10-27 07:09:33 +0900
commitda20a0539982bba9de3a30f720e4ebb69bbbfbbd (patch)
tree1884f38d4fcf34644d0767cc62599f9a04510980 /.travis.yml
parentce62ea68d83b7bf224a720d54a8a1dbf1f5d3ca9 (diff)
travis: update go to 1.13
Needs to update staticcheck for go 1.13. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 6 insertions, 6 deletions
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