mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 10:50:37 -06:00
e61d049623
* tech(build): replace npm with yarn * tech(build): change node version for CI
32 lines
870 B
YAML
32 lines
870 B
YAML
machine:
|
|
node:
|
|
version: 6.9.2
|
|
environment:
|
|
GOPATH: "/home/ubuntu/.go_workspace"
|
|
ORG_PATH: "github.com/grafana"
|
|
REPO_PATH: "${ORG_PATH}/grafana"
|
|
GODIST: "go1.7.4.linux-amd64.tar.gz"
|
|
post:
|
|
- mkdir -p download
|
|
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
|
- sudo rm -rf /usr/local/go
|
|
- sudo tar -C /usr/local -xzf download/$GODIST
|
|
|
|
dependencies:
|
|
override:
|
|
- rm -rf ${GOPATH}/src/${REPO_PATH}
|
|
- mkdir -p ${GOPATH}/src/${ORG_PATH}
|
|
- cp -r ~/grafana ${GOPATH}/src/${ORG_PATH}
|
|
|
|
test:
|
|
override:
|
|
- bash scripts/circle-test.sh
|
|
|
|
# deployment:
|
|
# master:
|
|
# branch: master
|
|
# owner: grafana
|
|
# commands:
|
|
# - ./scripts/trigger_grafana_packer.sh ${TRIGGER_GRAFANA_PACKER_CIRCLECI_TOKEN}
|
|
# - ./scripts/trigger_windows_build.sh ${APPVEYOR_TOKEN}
|