Skip to content

Commit fbf4eac

Browse files
committed
Added appveyor, trying to test if a windows CI build will be possible
1 parent ebdbbbc commit fbf4eac

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.bra.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[run]
22
init_cmds = [
3-
["go", "build", "-o", "./bin/grafana-server"],
4-
["./bin/grafana-server"]
3+
["go", "build", "-o", "./bin/grafana-server.exe"],
4+
["./bin/grafana-server.exe"]
55
]
66
watch_all = true
77
watch_dirs = [
@@ -12,6 +12,6 @@ watch_dirs = [
1212
watch_exts = [".go", ".ini"]
1313
build_delay = 1500
1414
cmds = [
15-
["go", "build", "-o", "./bin/grafana-server"],
16-
["./bin/grafana-server"]
15+
["go", "build", "-o", "./bin/grafana-server.exe"],
16+
["./bin/grafana-server.exe"]
1717
]

appveyor.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: "{build}"
2+
3+
os: Windows Server 2012 R2
4+
5+
clone_folder: c:\gopath\src\github.com\grafana\grafana
6+
7+
environment:
8+
GOPATH: c:\gopath
9+
10+
install:
11+
- echo %PATH%
12+
- echo %GOPATH%
13+
- go version
14+
- go env
15+
- go get -v -t ./...
16+
17+
build_script:
18+
- go test -v ./pkg/...

0 commit comments

Comments
 (0)