From ec9275ba9aded9f4dade1cde439fdb3f40d98d03 Mon Sep 17 00:00:00 2001 From: dfawley Date: Fri, 16 Mar 2018 08:47:14 -0700 Subject: [PATCH] travis: add Go 1.10 and run vet there instead of 1.9 (#1913) --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13af5396..65ae29eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,19 +5,20 @@ go: - 1.7.x - 1.8.x - 1.9.x + - 1.10.x matrix: include: - - go: 1.9.x + - go: 1.10.x env: RUN386=1 go_import_path: google.golang.org/grpc before_install: - - if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi + - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi script: - if [[ -n "$RUN386" ]]; then export GOARCH=386; fi - - if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi + - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi - make test || exit 1 - if [[ "$GOARCH" != "386" ]]; then make testrace; fi