From 6c33ba14a4db99409657e6a68a7c629e09ceee3f Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 25 May 2016 14:07:57 +0200 Subject: build: add ci.go, use it everywhere The new build script, ci.go, replaces some of the older shell scripts. ci.go can compile go-ethereum, run the tests, create release archives and debian source packages. --- appveyor.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 appveyor.yml (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..89d3dfe3d --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,31 @@ +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: + GOPATH: c:\gopath + +# cache choco package files so we don't hit sourceforge all +# the time. +cache: + - c:\cache + +install: + - cmd: choco install --cache c:\cache golang mingw | find /v "Extracting " + - refreshenv + - cd c:\gopath\src\github.com\ethereum\go-ethereum + +build_script: + - go run build\ci.go install + +test_script: + - go run build\ci.go test -vet -coverage + +after_build: + - go run build\ci.go archive -type zip + +artifacts: + - path: geth-*.zip -- cgit v1.2.3