grafana/wercker.yml
2014-12-30 10:58:13 +01:00

30 lines
508 B
YAML

box: wercker/golang
steps:
- wercker/npm-install@0.9.3
build:
steps:
# Workspace
- setup-go-workspace
- script:
name: go get
code: |
cd $WERCKER_SOURCE_DIR
go version
go get -t ./...
# Build the project
- script:
name: go build
code: |
go build ./...
# Test the project
- script:
name: go test
code: |
go test ./...
# npm install
- npm-install:
cwd: grafana/