travis.yml: go1.10 build on macOS, not just Linux

This commit is contained in:
Anton Evangelatov 2018-02-17 15:03:24 +01:00
parent 007196c027
commit 6ff46a6baa

View file

@ -25,6 +25,16 @@ matrix:
- go run build/ci.go install - go run build/ci.go install
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
- os: osx
go: 1.9.x
script:
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
- brew update
- brew install caskroom/cask/brew-cask
- brew cask install osxfuse
- go run build/ci.go install
- go run build/ci.go test -coverage
# These are the latest Go versions. # These are the latest Go versions.
- os: linux - os: linux
dist: trusty dist: trusty
@ -38,7 +48,7 @@ matrix:
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
- os: osx - os: osx
go: 1.9.x go: "1.10"
script: script:
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703 - unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
- brew update - brew update