Files
grafana/circle.yml

26 lines
637 B
YAML
Raw Normal View History

machine:
2015-03-07 13:07:22 +01:00
environment:
GOPATH: "/home/ubuntu/.go_workspace"
ORG_PATH: "github.com/grafana"
REPO_PATH: "${ORG_PATH}/grafana"
2015-03-07 12:52:31 +01:00
dependencies:
2015-03-07 12:46:17 +01:00
override:
2015-03-07 13:07:22 +01:00
- rm -rf ${GOPATH}/src/${REPO_PATH}
- mkdir -p ${GOPATH}/src/${ORG_PATH}
- ln -s ~/grafana ${GOPATH}/src/${ORG_PATH}
2015-03-07 12:52:31 +01:00
- go get github.com/tools/godep
- npm install
2015-03-07 12:46:17 +01:00
test:
2015-03-07 12:43:17 +01:00
override:
2015-03-07 16:23:22 +01:00
# FMT
- test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)"
2015-03-07 19:51:19 +01:00
# GO VET
- go vet ./pkg/...
# Go test
2015-03-07 13:53:10 +01:00
- godep go test -v ./pkg/...
2015-03-07 16:23:22 +01:00
# js tests
2015-03-07 13:53:10 +01:00
- ./node_modules/grunt-cli/bin/grunt test
2015-05-02 17:05:07 +02:00
- npm run coveralls