Skip to content

Commit

Permalink
build: fixes appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Vogel committed Oct 1, 2018
1 parent 82d2cf5 commit 342088b
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
version: '{build}'
platform: x64
clone_depth: 2
version: "{build}"

clone_depth: 1
clone_folder: c:\gopath\src\github.com\mavogel\go-ssh-forward

environment:
GOPATH: c:\gopath
matrix:
- GOVERSION: 1.8.5
- GOVERSION: 1.9.2

install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- set PATH=%PATH%;%GOPATH%\bin

test_script:
- for /f "" %%G in ('go list ./... ^| find /i /v "/vendor/"') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)
matrix:
fast_finish: true
- for /f "" %%G in ('go list github.com/mavogel/go-ssh-forward/...') do ( go test -v %%G & IF ERRORLEVEL == 1 EXIT 1)

build: off
deploy: off

0 comments on commit 342088b

Please sign in to comment.