appveyor.yml 763 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. version: "{build}"
  2. os: Windows Server 2012 R2
  3. clone_folder: c:\gopath\src\github.com\grafana\grafana
  4. environment:
  5. nodejs_version: "6"
  6. GOPATH: c:\gopath
  7. install:
  8. # install nodejs and npm
  9. - ps: Install-Product node $env:nodejs_version
  10. - npm install -g yarn
  11. - yarn install --pure-lockfile
  12. - npm install -g grunt-cli
  13. # install gcc (needed for sqlite3)
  14. - choco install -y --limit-output mingw
  15. - set PATH=C:\tools\mingw64\bin;%PATH%
  16. - echo %PATH%
  17. - echo %GOPATH%
  18. - go version
  19. - go env
  20. - go run build.go setup
  21. build_script:
  22. - go run build.go build
  23. - grunt release
  24. - go run build.go sha1-dist
  25. - cp dist/* .
  26. artifacts:
  27. - path: grafana-*windows-*.*
  28. name: binzip
  29. deploy:
  30. - provider: Environment
  31. name: GrafanaBuildsS3