2016-05-25 07:07:57 -05:00
|
|
|
os: Visual Studio 2015
|
|
|
|
|
|
|
|
# Clone directly into GOPATH.
|
|
|
|
clone_folder: c:\gopath\src\github.com\ethereum\go-ethereum
|
|
|
|
clone_depth: 5
|
|
|
|
version: "{branch}.{build}"
|
|
|
|
environment:
|
|
|
|
global:
|
2016-07-14 03:33:20 -05:00
|
|
|
# Go stuff
|
2016-05-25 07:07:57 -05:00
|
|
|
GOPATH: c:\gopath
|
2016-07-14 03:33:20 -05:00
|
|
|
GO: c:\go\bin\go
|
|
|
|
GOROOT: c:\go
|
|
|
|
CC: C:\msys64\mingw64\bin\gcc.exe
|
|
|
|
# MSYS2 stuff
|
|
|
|
MSYS2_ARCH: x86_64
|
|
|
|
MSYSTEM: MINGW64
|
|
|
|
PATH: C:\msys64\mingw64\bin\;%PATH%
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
install:
|
2016-07-14 03:33:20 -05:00
|
|
|
- "%GO% version"
|
|
|
|
- "%CC% --version"
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
build_script:
|
2016-07-14 03:33:20 -05:00
|
|
|
- "%GO% run build\\ci.go install"
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
test_script:
|
2016-07-14 03:33:20 -05:00
|
|
|
- "%GO% run build\\ci.go test -vet -coverage"
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
after_build:
|
2016-07-14 03:33:20 -05:00
|
|
|
- "%GO% run build\\ci.go archive -type zip"
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: geth-*.zip
|