github.com/scaleoutsean/fusego@v0.0.0-20220224074057-4a6429e46bb8/.travis.yml (about)

     1  # Cf. http://docs.travis-ci.com/user/getting-started/
     2  # Cf. http://docs.travis-ci.com/user/languages/go/
     3  
     4  matrix:
     5    include:
     6      - os: linux
     7        language: go
     8        go: 1.13
     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        # Pin to macOS 10.12 (indirectly by using the Xcode 8.3 image).  We must
    17        # do this to get the OSXFUSE kernel extension to work because there
    18        # currently is no know way to programmatically grant permissions to load
    19        # a kernel extension in macOS 10.13.
    20        #
    21        # See https://github.com/travis-ci/travis-ci/issues/10017 for details.
    22        osx_image: xcode8.3
    23        language: go
    24        go: 1.13
    25  
    26  # Install fuse before installing our code.
    27  before_install:
    28    # For linux: install fuse.
    29    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
    30        sudo apt-get install -qq fuse;
    31      fi
    32  
    33    # For macOS: update homebrew and then install osxfuse.
    34    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
    35    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install osxfuse; fi