Skip to content

Commit

Permalink
travis.yml: go1.10 build on macOS, not just Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nonsense committed Feb 17, 2018
1 parent 007196c commit 6ff46a6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ matrix:
- go run build/ci.go install
- 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.
- os: linux
dist: trusty
Expand All @@ -38,7 +48,7 @@ matrix:
- go run build/ci.go test -coverage

- os: osx
go: 1.9.x
go: "1.10"
script:
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
- brew update
Expand Down

0 comments on commit 6ff46a6

Please sign in to comment.