2014-06-26 17:23:54 +00:00
|
|
|
language: go
|
2017-11-14 12:53:46 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2015-11-03 12:50:29 +00:00
|
|
|
os:
|
2016-10-04 16:10:20 +00:00
|
|
|
- linux
|
2014-06-26 17:23:54 +00:00
|
|
|
go:
|
2018-08-26 14:11:37 +00:00
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
|
|
|
- 1.10.x
|
|
|
|
- 1.11.x
|
2017-02-17 10:30:45 +00:00
|
|
|
- tip
|
2018-09-07 09:17:27 +00:00
|
|
|
go_import_path: github.com/ncw/rclone
|
2017-11-14 12:53:46 +00:00
|
|
|
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
|
2015-11-03 12:50:29 +00:00
|
|
|
install:
|
2016-10-06 14:15:21 +00:00
|
|
|
- git fetch --unshallow --tags
|
2016-10-04 16:10:20 +00:00
|
|
|
- make vars
|
|
|
|
- make build_dep
|
2014-06-26 17:23:54 +00:00
|
|
|
script:
|
2016-10-04 16:10:20 +00:00
|
|
|
- make check
|
|
|
|
- make quicktest
|
2017-08-04 22:20:26 +00:00
|
|
|
- make compile_all
|
2016-10-04 16:10:20 +00:00
|
|
|
env:
|
2017-05-19 14:46:13 +00:00
|
|
|
global:
|
|
|
|
- GOTAGS=cmount
|
2018-03-07 10:15:12 +00:00
|
|
|
- secure: gU8gCV9R8Kv/Gn0SmCP37edpfIbPoSvsub48GK7qxJdTU628H0KOMiZW/T0gtV5d67XJZ4eKnhJYlxwwxgSgfejO32Rh5GlYEKT/FuVoH0BD72dM1GDFLSrUiUYOdoHvf/BKIFA3dJFT4lk2ASy4Zh7SEoXHG6goBlqUpYx8hVA=
|
|
|
|
- secure: AMjrMAksDy3QwqGqnvtUg8FL/GNVgNqTqhntLF9HSU0njHhX6YurGGnfKdD9vNHlajPQOewvmBjwNLcDWGn2WObdvmh9Ohep0EmOjZ63kliaRaSSQueSd8y0idfqMQAxep0SObOYbEDVmQh0RCAE9wOVKRaPgw98XvgqWGDq5Tw=
|
|
|
|
- secure: Uaiveq+/rvQjO03GzvQZV2J6pZfedoFuhdXrLVhhHSeP4ZBca0olw7xaqkabUyP3LkVYXMDSX8EbyeuQT1jfEe5wp5sBdfaDtuYW6heFyjiHIIIbVyBfGXon6db4ETBjOaX/Xt8uktrgNge6qFlj+kpnmpFGxf0jmDLw1zgg7tk=
|
2017-05-11 13:57:32 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- fuse
|
|
|
|
- libfuse-dev
|
2018-02-26 11:24:56 +00:00
|
|
|
- rpm
|
2017-11-14 12:53:46 +00:00
|
|
|
- pkg-config
|
2018-09-02 13:06:49 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
2017-02-17 10:30:45 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
include:
|
|
|
|
- os: osx
|
2018-08-26 14:11:37 +00:00
|
|
|
go: 1.11.x
|
2017-05-19 14:46:13 +00:00
|
|
|
env: GOTAGS=""
|
2018-09-02 13:06:49 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/Library/Caches/go-build
|
2016-10-04 16:10:20 +00:00
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: make travis_beta
|
2018-02-26 11:24:56 +00:00
|
|
|
skip_cleanup: true
|
2016-10-04 16:10:20 +00:00
|
|
|
on:
|
2018-09-07 09:17:27 +00:00
|
|
|
repo: ncw/rclone
|
2018-02-20 15:11:41 +00:00
|
|
|
all_branches: true
|
2018-08-26 14:11:37 +00:00
|
|
|
go: 1.11.x
|
2018-06-22 08:52:16 +00:00
|
|
|
condition: $TRAVIS_PULL_REQUEST == false
|