.travis.yml 824 B

12345678910111213141516171819202122232425262728
  1. # Cf. http://docs.travis-ci.com/user/getting-started/
  2. # Cf. http://docs.travis-ci.com/user/languages/go/
  3. matrix:
  4. include:
  5. - os: linux
  6. language: go
  7. go: 1.8.1
  8. # Use the virtualized Trusty beta Travis is running in order to get
  9. # support for installing fuse.
  10. #
  11. # Cf. Personal communication from support@travis-ci.com.
  12. dist: trusty
  13. sudo: required
  14. - os: osx
  15. language: go
  16. go: 1.8.1
  17. # Install fuse before installing our code.
  18. before_install:
  19. # For linux: install fuse.
  20. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
  21. sudo apt-get install -qq fuse;
  22. fi
  23. # For macOS: update homebrew and then install osxfuse.
  24. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  25. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install osxfuse; fi