Skip to content

Commit

Permalink
CI: test on Go 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Mar 11, 2019
1 parent a3dcc70 commit 04b1a70
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.