From a7169a63489d7713b7aeb985a03932a527c5a0f0 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 20 Sep 2015 15:18:50 +0200 Subject: [PATCH] Add AppVeyor for Windows builds --- README.md | 1 + appveyor.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 appveyor.yaml diff --git a/README.md b/README.md index 7a4b1af87..7d0253f9e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Syncthing ========= [![Latest Build (Official)](https://img.shields.io/jenkins/s/http/build.syncthing.net/syncthing.svg?style=flat-square)](http://build.syncthing.net/job/syncthing/lastBuild/) +[![AppVeyor Build](https://img.shields.io/appveyor/ci/calmh/syncthing/master.svg?style=flat-square)](https://ci.appveyor.com/project/calmh/syncthing) [![API Documentation](https://img.shields.io/badge/api-Godoc-blue.svg?style=flat-square)](http://godoc.org/github.com/syncthing/syncthing) [![MPLv2 License](https://img.shields.io/badge/license-MPLv2-blue.svg?style=flat-square)](https://www.mozilla.org/MPL/2.0/) diff --git a/appveyor.yaml b/appveyor.yaml new file mode 100644 index 000000000..62d6dfe8d --- /dev/null +++ b/appveyor.yaml @@ -0,0 +1,12 @@ +version: '{branch}-{build}' +clone_folder: C:\src\github.com\syncthing\syncthing +init: +- go version +environment: + GOPATH: C:\ +build_script: +- go run build.go zip +test_script: +- go run build.go test +artifacts: +- path: '*.zip'