mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +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
|
||||
sudo: false
|
||||
osx_image: xcode7.3
|
||||
sudo: required
|
||||
dist: trusty
|
||||
os:
|
||||
- linux
|
||||
go:
|
||||
@ -10,6 +10,9 @@ go:
|
||||
- 1.9.3
|
||||
- "1.10"
|
||||
- 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:
|
||||
- git fetch --unshallow --tags
|
||||
- make vars
|
||||
@ -30,6 +33,7 @@ addons:
|
||||
- fuse
|
||||
- libfuse-dev
|
||||
- rpm
|
||||
- pkg-config
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
@ -44,4 +48,4 @@ deploy:
|
||||
on:
|
||||
all_branches: true
|
||||
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