From 6ff46a6baa9de50f113cef378b9272d035286df7 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Sat, 17 Feb 2018 15:03:24 +0100 Subject: [PATCH] travis.yml: go1.10 build on macOS, not just Linux --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index da02912bc8..2b529816a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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