Use clone_folder in appveyor.yml
instead of dir moving shenanigans
This commit is contained in:
parent
531c7defe7
commit
d277cbf893
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user