From 04b1a7061dc0f243afc00058ea024523e45c9216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 11 Mar 2019 09:57:50 +0000 Subject: [PATCH] CI: test on Go 1.12 --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index efb07f748..0b795dc37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,13 @@ matrix: include: - os: linux go: 1.11.x - env: CHECK_GOFMT=1 + - os: linux + go: 1.12.x + env: LATEST_GO=1 - os: osx - go: 1.11.x + go: 1.12.x - os: windows - go: 1.11.x + go: 1.12.x install: true @@ -21,5 +23,5 @@ script: - go test ./... # TODO: reenable test -race on windows once TestInteractive stops failing - if [[ $TRAVIS_OS_NAME != "windows" ]]; then go test -short -race ./...; fi - - if [[ -n $CHECK_GOFMT ]]; then diff <(echo -n) <(gofmt -d .); fi - shfmt -version + - if [[ -n $LATEST_GO ]]; then diff <(echo -n) <(gofmt -d .); fi