travis: make FUSE work for cammount tests

Change-Id: Ieb84446571dfea3eb44c07a8ed2f3ff7a874f817
This commit is contained in:
mpl 2015-11-27 15:53:09 +01:00
parent 3dbaa49395
commit 839ec5574e
1 changed files with 7 additions and 0 deletions

View File

@ -1,8 +1,15 @@
sudo: required
dist: trusty
go_import_path: camlistore.org
language: go
go:
- 1.5
- tip
before_install:
- sudo apt-get install -qq pkg-config fuse
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
install: GO15VENDOREXPERIMENT=1 go run make.go -v
before_script: GO15VENDOREXPERIMENT=1 go build -o ./bin/devcam ./dev/devcam
script: GO15VENDOREXPERIMENT=1 ./bin/devcam test