2016-05-25 15:07:57 +03: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 11:33:20 +03:00
|
|
|
# Go stuff
|
2016-05-25 15:07:57 +03:00
|
|
|
GOPATH: c:\gopath
|
2016-07-14 11:33:20 +03: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 15:07:57 +03:00
|
|
|
|
|
|
|
install:
|
2016-07-14 11:33:20 +03:00
|
|
|
- "%GO% version"
|
|
|
|
- "%CC% --version"
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
build_script:
|
2016-07-14 11:33:20 +03:00
|
|
|
- "%GO% run build\\ci.go install"
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
test_script:
|
2016-07-14 11:33:20 +03:00
|
|
|
- "%GO% run build\\ci.go test -vet -coverage"
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
after_build:
|
2016-07-14 11:33:20 +03:00
|
|
|
- "%GO% run build\\ci.go archive -type zip"
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: geth-*.zip
|