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

This commit is contained in:
Nick Craig-Wood 2017-05-11 14:57:32 +01:00
parent 09093a9954
commit 5b063679b5
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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