1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00

build: enable caching of the go build cache for Travis and Appveyor

This commit is contained in:
Nick Craig-Wood 2018-09-02 14:06:49 +01:00
parent 5b9b9f1572
commit bd5d326160
2 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,9 @@ os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\ncw\rclone
cache:
- '%LocalAppData%\go-build'
environment:
GOPATH: C:\gopath
CPATH: C:\Program Files (x86)\WinFsp\inc\fuse

View File

@ -34,6 +34,9 @@ addons:
- libfuse-dev
- rpm
- pkg-config
cache:
directories:
- $HOME/.cache/go-build
matrix:
allow_failures:
- go: tip
@ -41,6 +44,9 @@ matrix:
- os: osx
go: 1.11.x
env: GOTAGS=""
cache:
directories:
- $HOME/Library/Caches/go-build
deploy:
provider: script
script: make travis_beta