Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

travis: install libfuse for cmount build and disable on OS X

Nick Craig-Wood5b063679b5f9
diff --git a/.travis.yml b/.travis.yml
index 5c0489f81..712977187 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,12 +18,18 @@ script:
env:
matrix:
secure: gU8gCV9R8Kv/Gn0SmCP37edpfIbPoSvsub48GK7qxJdTU628H0KOMiZW/T0gtV5d67XJZ4eKnhJYlxwwxgSgfejO32Rh5GlYEKT/FuVoH0BD72dM1GDFLSrUiUYOdoHvf/BKIFA3dJFT4lk2ASy4Zh7SEoXHG6goBlqUpYx8hVA=
+addons:
+ apt:
+ packages:
+ - fuse
+ - libfuse-dev
matrix:
allow_failures:
- go: tip
include:
- os: osx
go: 1.8.1
+ env: CGO_ENABLED=0
deploy:
provider: script
script: make travis_beta
diff --git a/Makefile b/Makefile
index 748fa7bb9..6ba80c08f 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ test: rclone
# Quick test
quicktest:
RCLONE_CONFIG="/notfound" go test $(GO_FILES)
- RCLONE_CONFIG="/notfound" go test -cpu=2 -race $(GO_FILES)
+ if [ "$$CGO_ENABLED" != "0" ]; then RCLONE_CONFIG="/notfound" go test -cpu=2 -race $(GO_FILES) ; fi
# Do source code quality checks
check: rclone