aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-05-25 20:07:57 +0800
committerFelix Lange <fjl@twurst.com>2016-06-22 19:42:39 +0800
commit6c33ba14a4db99409657e6a68a7c629e09ceee3f (patch)
tree7b73dadb69a0e626e6c2c922da2ac17bba8e94d4 /appveyor.yml
parenta38be3eb488a349693a9c9905ab015278281f8db (diff)
downloadgo-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.gz
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.bz2
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.lz
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.xz
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.zst
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.zip
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.
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