mirror of
https://github.com/rclone/rclone
synced 2024-11-18 18:46:07 +01:00
Make travis test mount and cmount - fixes #2100
Previously FUSE wasn't found in the container so these tests weren't run. Move to VM based testing and install FUSE dependencies.
This commit is contained in:
parent
09c14af6d1
commit
c8a4d437a0
10
.travis.yml
10
.travis.yml
@ -1,6 +1,6 @@
|
|||||||
language: go
|
language: go
|
||||||
sudo: false
|
sudo: required
|
||||||
osx_image: xcode7.3
|
dist: trusty
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
go:
|
go:
|
||||||
@ -10,6 +10,9 @@ go:
|
|||||||
- 1.9.3
|
- 1.9.3
|
||||||
- "1.10"
|
- "1.10"
|
||||||
- tip
|
- tip
|
||||||
|
before_install:
|
||||||
|
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo modprobe fuse ; sudo chmod 666 /dev/fuse ; sudo chown root:$USER /etc/fuse.conf ; fi
|
||||||
|
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew update && brew tap caskroom/cask && brew cask install osxfuse ; fi
|
||||||
install:
|
install:
|
||||||
- git fetch --unshallow --tags
|
- git fetch --unshallow --tags
|
||||||
- make vars
|
- make vars
|
||||||
@ -30,6 +33,7 @@ addons:
|
|||||||
- fuse
|
- fuse
|
||||||
- libfuse-dev
|
- libfuse-dev
|
||||||
- rpm
|
- rpm
|
||||||
|
- pkg-config
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- go: tip
|
- go: tip
|
||||||
@ -44,4 +48,4 @@ deploy:
|
|||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
go: "1.10"
|
go: "1.10"
|
||||||
condition: "`uname` == 'Linux' && $TRAVIS_PULL_REQUEST == 'false'"
|
condition: $TRAVIS_OS_NAME == linux && $TRAVIS_PULL_REQUEST == false
|
||||||
|
Loading…
Reference in New Issue
Block a user