wercker.yml 621 B

1234567891011121314151617181920212223242526272829303132
  1. box: wercker/golang
  2. steps:
  3. - wercker/npm-install@0.9.3
  4. - wercker/step-grunt
  5. build:
  6. steps:
  7. # Workspace
  8. - setup-go-workspace
  9. - script:
  10. name: install godep
  11. code: |
  12. go get -u github.com/tools/godep
  13. go install github.com/tools/godep
  14. # Build the project
  15. - script:
  16. name: godep build
  17. code: |
  18. godep go build ./...
  19. # Test the project
  20. - script:
  21. name: godep go test
  22. code: |
  23. godep go test ./...
  24. # frontend
  25. - npm-install:
  26. cwd: grafana/
  27. - grunt:
  28. cwd: grafana/
  29. tasks: release