mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added appveyor, trying to test if a windows CI build will be possible
This commit is contained in:
parent
ebdbbbc000
commit
fbf4eac257
@ -1,7 +1,7 @@
|
|||||||
[run]
|
[run]
|
||||||
init_cmds = [
|
init_cmds = [
|
||||||
["go", "build", "-o", "./bin/grafana-server"],
|
["go", "build", "-o", "./bin/grafana-server.exe"],
|
||||||
["./bin/grafana-server"]
|
["./bin/grafana-server.exe"]
|
||||||
]
|
]
|
||||||
watch_all = true
|
watch_all = true
|
||||||
watch_dirs = [
|
watch_dirs = [
|
||||||
@ -12,6 +12,6 @@ watch_dirs = [
|
|||||||
watch_exts = [".go", ".ini"]
|
watch_exts = [".go", ".ini"]
|
||||||
build_delay = 1500
|
build_delay = 1500
|
||||||
cmds = [
|
cmds = [
|
||||||
["go", "build", "-o", "./bin/grafana-server"],
|
["go", "build", "-o", "./bin/grafana-server.exe"],
|
||||||
["./bin/grafana-server"]
|
["./bin/grafana-server.exe"]
|
||||||
]
|
]
|
||||||
|
18
appveyor.yml
Normal file
18
appveyor.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: "{build}"
|
||||||
|
|
||||||
|
os: Windows Server 2012 R2
|
||||||
|
|
||||||
|
clone_folder: c:\gopath\src\github.com\grafana\grafana
|
||||||
|
|
||||||
|
environment:
|
||||||
|
GOPATH: c:\gopath
|
||||||
|
|
||||||
|
install:
|
||||||
|
- echo %PATH%
|
||||||
|
- echo %GOPATH%
|
||||||
|
- go version
|
||||||
|
- go env
|
||||||
|
- go get -v -t ./...
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- go test -v ./pkg/...
|
Loading…
Reference in New Issue
Block a user