mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
28 lines
796 B
YAML
28 lines
796 B
YAML
|
version: 0.1.{build}
|
||
|
|
||
|
image: Visual Studio 2017
|
||
|
|
||
|
clone_folder: c:\gopath\src\github.com\Microsoft\hcsshim
|
||
|
|
||
|
environment:
|
||
|
GOPATH: c:\gopath
|
||
|
PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%GOPATH%\bin;%PATH%
|
||
|
|
||
|
build_script:
|
||
|
- go get -u github.com/alecthomas/gometalinter
|
||
|
- gometalinter.exe --install
|
||
|
- gometalinter.exe --config .gometalinter.json ./...
|
||
|
- go get -v -d -t -tags "functional integration admin" ./...
|
||
|
- go build ./cmd/wclayer
|
||
|
- go build ./cmd/runhcs
|
||
|
- go test -c ./pkg/go-runhcs/ -tags integration
|
||
|
- go build ./cmd/tar2ext4
|
||
|
- go test -v ./... -tags admin
|
||
|
- go test -c ./functional/ -tags functional
|
||
|
|
||
|
artifacts:
|
||
|
- path: 'wclayer.exe'
|
||
|
- path: 'runhcs.exe'
|
||
|
- path: 'go-runhcs.test.exe'
|
||
|
- path: 'tar2ext4.exe'
|
||
|
- path: 'functional.test.exe'
|