tests: enable FUSE tests on Travis CI
This commit is contained in:
parent
67a959eebf
commit
b80d01056f
12
.travis.yml
12
.travis.yml
@ -12,10 +12,18 @@ go:
|
|||||||
install:
|
install:
|
||||||
- go get .
|
- 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.
|
# Go 1.3.3 does not support testing.M, so skip the tests there.
|
||||||
script:
|
script:
|
||||||
- openssl version
|
- openssl version
|
||||||
- go build
|
- go build
|
||||||
- ./build.bash
|
- ./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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user