appveyor: make build include WinFsp and test cmount

This commit is contained in:
Nick Craig-Wood 2017-05-11 14:56:11 +01:00
parent b259f8b752
commit 4f954896a8
2 changed files with 25 additions and 20 deletions

25
.appveyor.yml Normal file
View File

@ -0,0 +1,25 @@
version: "{build}"
os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\ncw\rclone
environment:
GOPATH: c:\gopath
CPATH: C:\Program Files (x86)\WinFsp\inc\fuse
PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
install:
- choco install winfsp -y
build_script:
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- go install
test_script:
- rmdir vendor\bazil.org\fuse /s /q
- go test -cpu=2 ./...
- go test -cpu=2 -short -race ./...

View File

@ -1,20 +0,0 @@
version: "{build}"
os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\ncw\rclone
environment:
GOPATH: c:\gopath
install:
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- go install
build_script:
- rmdir vendor\bazil.org\fuse /s /q
- go test -cpu=2 ./...
- go test -cpu=2 -short -race ./...