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 ./...