diff options
author | Jakob Unterwurzacher | 2016-10-04 22:06:05 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-10-04 22:34:07 +0200 |
commit | b80d01056f35b2d062e73a6c7d4ba3cff3b6ef7e (patch) | |
tree | 1c87262d259c9dd333de2534c38e47985e55dd4c /.travis.yml | |
parent | 67a959eebfc299f762fdb69283a4f0d46f28a977 (diff) |
tests: enable FUSE tests on Travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 6cba405..1a1d312 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,18 @@ go: install: - go get . -# Travis does not support FUSE, so we can't just run "./test.bash" # Go 1.3.3 does not support testing.M, so skip the tests there. script: - openssl version - go build - ./build.bash - - if ! go version | grep go1.3.3 ; then go test ./internal/... ; fi + - if ! go version | grep go1.3.3 ; then ./test.bash ; fi + +# fuse on travis +sudo: required +dist: trusty +before_install: + - sudo apt-get install -qq fuse + - sudo modprobe fuse + - sudo chmod 666 /dev/fuse + - sudo chown root:$USER /etc/fuse.conf |