mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
34 lines
708 B
YAML
34 lines
708 B
YAML
machine:
|
|
services:
|
|
- docker
|
|
environment:
|
|
GOPATH: "/home/ubuntu/.go_workspace"
|
|
ORG_PATH: "github.com/grafana"
|
|
REPO_PATH: "${ORG_PATH}/grafana"
|
|
|
|
dependencies:
|
|
cache_directories:
|
|
- "~/docker"
|
|
pre:
|
|
- ./docker/buildcontainer/build_circle.sh
|
|
|
|
override:
|
|
- rm -rf ${GOPATH}/src/${REPO_PATH}
|
|
- mkdir -p ${GOPATH}/src/${ORG_PATH}
|
|
- cp -r ../grafana ${GOPATH}/src/${ORG_PATH}
|
|
- go get github.com/tools/godep
|
|
- npm install
|
|
|
|
test:
|
|
override:
|
|
- echo "test"
|
|
# - godep go test -v ./pkg/...
|
|
# - ./node_modules/grunt-cli/bin/grunt test
|
|
|
|
deployment:
|
|
develop:
|
|
branch: develop
|
|
owner: grafana
|
|
commands:
|
|
- ./docker/buildcontainer/run_circle.sh
|