aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-05-25 20:07:57 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-08-18 21:01:27 +0800
commit0398075cedbc8a2a659ca4cc22e732e3c631fecf (patch)
tree820c7a319fbca8759e454546c41036ad28dbd304 /appveyor.yml
parentd1696dbf0746929c0ab719ef0807dc7b700bb85a (diff)
downloadgo-tangerine-0398075cedbc8a2a659ca4cc22e732e3c631fecf.tar
go-tangerine-0398075cedbc8a2a659ca4cc22e732e3c631fecf.tar.gz
go-tangerine-0398075cedbc8a2a659ca4cc22e732e3c631fecf.tar.bz2
go-tangerine-0398075cedbc8a2a659ca4cc22e732e3c631fecf.tar.lz
go-tangerine-0398075cedbc8a2a659ca4cc22e732e3c631fecf.tar.xz
go-tangerine-0398075cedbc8a2a659ca4cc22e732e3c631fecf.tar.zst
go-tangerine-0398075cedbc8a2a659ca4cc22e732e3c631fecf.zip
[release/1.4.11] 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. (cherry picked from commit 6c33ba14a4db99409657e6a68a7c629e09ceee3f)
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml31
1 files changed, 31 insertions, 0 deletions
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