grafana/appveyor.yml

41 lines
959 B
YAML
Raw Normal View History

version: "{build}"
os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\grafana\grafana
environment:
nodejs_version: "8"
GOPATH: C:\gopath
2019-01-28 01:08:29 -06:00
GOVERSION: 1.11.5
install:
- rmdir c:\go /s /q
# install nodejs and npm
- ps: Install-Product node $env:nodejs_version
- npm install -g yarn --silent
- yarn install --pure-lockfile --no-progress
- npm install -g grunt-cli
2017-01-31 13:57:34 -06:00
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
# install gcc (needed for sqlite3)
- choco install -y --limit-output mingw
2015-04-19 14:31:42 -05:00
- set PATH=C:\tools\mingw64\bin;%PATH%
- echo %PATH%
- echo %GOPATH%
- go version
- go env
2017-02-17 05:06:24 -06:00
# - go run build.go setup
build_script:
2015-04-19 13:45:18 -05:00
- go run build.go build
- grunt release
- go run build.go sha-dist
- cp dist/* .
2017-06-29 05:00:59 -05:00
- go test -v ./pkg/...
artifacts:
2016-10-18 04:42:25 -05:00
- path: grafana-*windows-*.*
name: binzip
2017-01-31 11:37:33 -06:00
type: zip