[lxc-devel] [lxd/master] Add appveyor config to git
stgraber on Github
lxc-bot at linuxcontainers.org
Thu Oct 20 16:24:57 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 370 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20161020/6b0816d4/attachment.bin>
-------------- next part --------------
From b074d3cee8b2fec600dbdaf5b5f637ed1b82d1ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 20 Oct 2016 12:24:11 -0400
Subject: [PATCH] Add appveyor config to git
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Closes #2537
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
.appveyor.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 .appveyor.yml
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..c51c28c
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,26 @@
+version: '{branch}.{build}'
+image: Visual Studio 2015
+clone_folder: c:\gopath\src\github.com\lxc\lxd
+environment:
+ GOPATH: c:\gopath
+
+install:
+- cmd: >-
+ echo %PATH%
+ echo %GOPATH%
+ set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
+ go version
+ go env
+
+build_script:
+- cmd: >-
+ go get -t -v -d ./...
+ go install -v ./lxc
+
+test_script:
+- cmd: >-
+ cd c:\gopath\src\github.com\lxc\lxd
+ go test ./
+ go test ./shared
+ go test ./lxc
+ lxc version
More information about the lxc-devel
mailing list