mirror of
https://github.com/rclone/rclone.git
synced 2025-01-22 22:28:47 +01:00
build: enable caching of the go build cache for Travis and Appveyor
This commit is contained in:
parent
5b9b9f1572
commit
bd5d326160
@ -4,6 +4,9 @@ os: Windows Server 2012 R2
|
|||||||
|
|
||||||
clone_folder: c:\gopath\src\github.com\ncw\rclone
|
clone_folder: c:\gopath\src\github.com\ncw\rclone
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- '%LocalAppData%\go-build'
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
GOPATH: C:\gopath
|
GOPATH: C:\gopath
|
||||||
CPATH: C:\Program Files (x86)\WinFsp\inc\fuse
|
CPATH: C:\Program Files (x86)\WinFsp\inc\fuse
|
||||||
|
@ -34,6 +34,9 @@ addons:
|
|||||||
- libfuse-dev
|
- libfuse-dev
|
||||||
- rpm
|
- rpm
|
||||||
- pkg-config
|
- pkg-config
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/go-build
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- go: tip
|
- go: tip
|
||||||
@ -41,6 +44,9 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
go: 1.11.x
|
go: 1.11.x
|
||||||
env: GOTAGS=""
|
env: GOTAGS=""
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/Library/Caches/go-build
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
script: make travis_beta
|
script: make travis_beta
|
||||||
|
Loading…
Reference in New Issue
Block a user