2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00

Don't test fuse on non-darwin

This commit is contained in:
Matthieu Rakotojaona 2015-07-19 23:24:37 +02:00
parent 3767eb2675
commit 77c0f69dd0

View File

@ -31,6 +31,7 @@ install:
- go version | grep -q "darwin" && export GOX_OS="darwin" || true - go version | grep -q "darwin" && export GOX_OS="darwin" || true
- uname -s | grep -qi darwin && brew install caskroom/cask/brew-cask || true - uname -s | grep -qi darwin && brew install caskroom/cask/brew-cask || true
- uname -s | grep -qi darwin && brew cask install osxfuse || true - uname -s | grep -qi darwin && brew cask install osxfuse || true
- uname -s | grep -vqi darwin && export RESTIC_TEST_FUSE="0" || true
- echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\"" - echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\""
- gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH" - gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"