Use clone_folder in appveyor.yml

instead of dir moving shenanigans
This commit is contained in:
Dan Buch 2016-05-22 19:32:48 -04:00
parent 531c7defe7
commit d277cbf893
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

View File

@ -2,22 +2,20 @@ version: "{build}"
os: Windows Server 2012 R2 os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\urfave\cli
environment: environment:
GOPATH: c:\gopath GOPATH: c:\gopath
GOVERSION: 1.6 GOVERSION: 1.6
install: install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH% - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- set NEW_BUILD_DIR_DEST=c:\gopath\src\github.com\urfave
- mkdir %NEW_BUILD_DIR_DEST%
- xcopy /s %APPVEYOR_BUILD_FOLDER% %NEW_BUILD_DIR_DEST%\cli
- set APPVEYOR_BUILD_FOLDER=%NEW_BUILD_DIR_DEST%\cli
- go version - go version
- go env - go env
- go get github.com/urfave/gfmxr/... - go get github.com/urfave/gfmxr/...
- go get -v -t ./...
build_script: build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- ./runtests vet - ./runtests vet
- ./runtests test - ./runtests test
- ./runtests gfmxr - ./runtests gfmxr