File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Cf. http://docs.travis-ci.com/user/getting-started/
22# Cf. http://docs.travis-ci.com/user/languages/go/
33
4- language : go
5-
6- go : 1.8.1
7-
8- # Use the virtualized Trusty beta Travis is running in order to get support for
9- # installing fuse.
10- #
11- # Cf. Personal communication from support@travis-ci.com.
12- dist : trusty
4+ matrix :
5+ include :
6+ - os : linux
7+ language : go
8+ go : 1.8.1
9+ # Use the virtualized Trusty beta Travis is running in order to get
10+ # support for installing fuse.
11+ #
12+ # Cf. Personal communication from support@travis-ci.com.
13+ dist : trusty
14+ sudo : required
15+ - os : osx
16+ language : go
17+ go : 1.8.1
1318
1419# Install fuse before installing our code.
1520before_install :
16- - sudo apt-get install -qq fuse
21+ # For linux: install fuse.
22+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
23+ sudo apt-get install -qq fuse;
24+ fi
25+
26+ # For macOS: update homebrew and then install osxfuse.
27+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
28+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install osxfuse; fi
You can’t perform that action at this time.
0 commit comments