mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(build): upgrade golang to 1.7.4
This commit is contained in:
parent
18f20a3357
commit
afd135944a
@ -7,6 +7,7 @@ clone_folder: c:\gopath\src\github.com\grafana\grafana
|
|||||||
environment:
|
environment:
|
||||||
nodejs_version: "6"
|
nodejs_version: "6"
|
||||||
GOPATH: c:\gopath
|
GOPATH: c:\gopath
|
||||||
|
GOVERSION: 1.7.4
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# install nodejs and npm
|
# install nodejs and npm
|
||||||
@ -14,6 +15,8 @@ install:
|
|||||||
- npm install -g yarn
|
- npm install -g yarn
|
||||||
- yarn install --pure-lockfile
|
- yarn install --pure-lockfile
|
||||||
- npm install -g grunt-cli
|
- npm install -g grunt-cli
|
||||||
|
- 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)
|
# install gcc (needed for sqlite3)
|
||||||
- choco install -y --limit-output mingw
|
- choco install -y --limit-output mingw
|
||||||
- set PATH=C:\tools\mingw64\bin;%PATH%
|
- set PATH=C:\tools\mingw64\bin;%PATH%
|
||||||
@ -23,12 +26,6 @@ install:
|
|||||||
- go env
|
- go env
|
||||||
- go run build.go setup
|
- go run build.go setup
|
||||||
|
|
||||||
before_build:
|
|
||||||
- cmd: if NOT "%buildTag%"=="" echo Building tag! %buildTag%
|
|
||||||
- cmd: if NOT "%buildTag%"=="" git fetch
|
|
||||||
- cmd: if NOT "%buildTag%"=="" git checkout %buildTag%
|
|
||||||
- cmd: echo Building tag? %buildTag%
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- go run build.go build
|
- go run build.go build
|
||||||
- grunt release
|
- grunt release
|
||||||
|
Loading…
Reference in New Issue
Block a user