Commit 8d6b09e9 by Torkel Ödegaard

Trying to use godep in wercker build

parent d7e79609
...@@ -2,28 +2,31 @@ box: wercker/golang ...@@ -2,28 +2,31 @@ box: wercker/golang
steps: steps:
- wercker/npm-install@0.9.3 - wercker/npm-install@0.9.3
- wercker/step-grunt
build: build:
steps: steps:
# Workspace # Workspace
- setup-go-workspace - setup-go-workspace
- script: - script:
name: go get name: install godep
code: | code:
cd $WERCKER_SOURCE_DIR go get -u github.com/tools/godep
go version go install github.com/tools/godep
go get -t ./...
# Build the project # Build the project
- script: - script:
name: go build name: godep build
code: | code: |
go build ./... godep go build ./...
# Test the project # Test the project
- script: - script:
name: go test name: godep go test
code: | code: |
go test ./... godep go test ./...
# npm install # frontend
- npm-install: - npm-install:
cwd: grafana/ cwd: grafana/
- grunt:
cwd: grafana/
tasks: release
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment