wercker.yml 508 B

1234567891011121314151617181920212223242526272829
  1. box: wercker/golang
  2. steps:
  3. - wercker/npm-install@0.9.3
  4. build:
  5. steps:
  6. # Workspace
  7. - setup-go-workspace
  8. - script:
  9. name: go get
  10. code: |
  11. cd $WERCKER_SOURCE_DIR
  12. go version
  13. go get -t ./...
  14. # Build the project
  15. - script:
  16. name: go build
  17. code: |
  18. go build ./...
  19. # Test the project
  20. - script:
  21. name: go test
  22. code: |
  23. go test ./...
  24. # npm install
  25. - npm-install:
  26. cwd: grafana/