grafana/appveyor.yml
Carl Bergquist e61d049623 tech(build): replace npm with yarn (#7108)
* tech(build): replace npm with yarn

* tech(build): change node version for CI
2017-01-06 07:28:43 +01:00

39 lines
747 B
YAML

version: "{build}"
os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\grafana\grafana
environment:
nodejs_version: "5"
GOPATH: c:\gopath
install:
# install nodejs and npm
- ps: Install-Product node $env:nodejs_version
- npm install -g yarn
- yarn install
- npm install -g grunt-cli
# install gcc (needed for sqlite3)
- choco install -y --limit-output mingw
- set PATH=C:\tools\mingw64\bin;%PATH%
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- go run build.go setup
build_script:
- go run build.go build
- grunt release
- go run build.go sha1-dist
- cp dist/* .
artifacts:
- path: grafana-*windows-*.*
name: binzip
deploy:
- provider: Environment
name: GrafanaBuildsS3