From 4f954896a82c2a9b8a0c636be523fb2da9e4359e Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 11 May 2017 14:56:11 +0100 Subject: [PATCH] appveyor: make build include WinFsp and test cmount --- .appveyor.yml | 25 +++++++++++++++++++++++++ appveyor.yml | 20 -------------------- 2 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 .appveyor.yml delete mode 100644 appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 000000000..2728a7e39 --- /dev/null +++ b/.appveyor.yml @@ -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 ./... diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d12134db6..000000000 --- a/appveyor.yml +++ /dev/null @@ -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 ./...