Skip to content
Permalink
Browse files

CI: test on Go 1.12

  • Loading branch information...
mvdan committed Mar 11, 2019
1 parent a3dcc70 commit 04b1a7061dc0f243afc00058ea024523e45c9216
Showing with 6 additions and 4 deletions.
  1. +6 −4 .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

0 comments on commit 04b1a70

Please sign in to comment.
You can’t perform that action at this time.