|
|
@ -6,26 +6,28 @@ clone_depth: 5 |
|
|
|
version: "{branch}.{build}" |
|
|
|
version: "{branch}.{build}" |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
global: |
|
|
|
global: |
|
|
|
|
|
|
|
# Go stuff |
|
|
|
GOPATH: c:\gopath |
|
|
|
GOPATH: c:\gopath |
|
|
|
|
|
|
|
GO: c:\go\bin\go |
|
|
|
# cache choco package files so we don't hit sourceforge all |
|
|
|
GOROOT: c:\go |
|
|
|
# the time. |
|
|
|
CC: C:\msys64\mingw64\bin\gcc.exe |
|
|
|
cache: |
|
|
|
# MSYS2 stuff |
|
|
|
- c:\cache |
|
|
|
MSYS2_ARCH: x86_64 |
|
|
|
|
|
|
|
MSYSTEM: MINGW64 |
|
|
|
|
|
|
|
PATH: C:\msys64\mingw64\bin\;%PATH% |
|
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
install: |
|
|
|
- cmd: choco install --cache c:\cache golang mingw | find /v "Extracting " |
|
|
|
- "%GO% version" |
|
|
|
- refreshenv |
|
|
|
- "%CC% --version" |
|
|
|
- cd c:\gopath\src\github.com\ethereum\go-ethereum |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build_script: |
|
|
|
build_script: |
|
|
|
- go run build\ci.go install |
|
|
|
- "%GO% run build\\ci.go install" |
|
|
|
|
|
|
|
|
|
|
|
test_script: |
|
|
|
test_script: |
|
|
|
- go run build\ci.go test -vet -coverage |
|
|
|
- "%GO% run build\\ci.go test -vet -coverage" |
|
|
|
|
|
|
|
|
|
|
|
after_build: |
|
|
|
after_build: |
|
|
|
- go run build\ci.go archive -type zip |
|
|
|
- "%GO% run build\\ci.go archive -type zip" |
|
|
|
|
|
|
|
|
|
|
|
artifacts: |
|
|
|
artifacts: |
|
|
|
- path: geth-*.zip |
|
|
|
- path: geth-*.zip |
|
|
|