This commit is contained in:
Felix Lange 2016-07-13 20:23:58 +00:00 committed by GitHub
commit 54914aa1c7

View file

@ -6,26 +6,32 @@ 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. # MSYS2 stuff
cache: MSYS2_ARCH: x86_64
- c:\cache MSYSTEM: MINGW64
PATH: C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
install: install:
- cmd: choco install --cache c:\cache golang mingw | find /v "Extracting " - "%GO% version"
- refreshenv # Update MSYS2
- cd c:\gopath\src\github.com\ethereum\go-ethereum # - bash -lc "pacman --noconfirm --sync --refresh --refresh pacman"
# - bash -lc "pacman --noconfirm --sync --refresh --refresh --sysupgrade --sysupgrade"
# Install MinGW gcc
- bash -lc "pacman --noconfirm -S mingw-w64-gcc"
- gcc --version
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