Explorar o código

Updated wercker file

Torkel Ödegaard %!s(int64=11) %!d(string=hai) anos
pai
achega
79e5dd3794
Modificáronse 1 ficheiros con 24 adicións e 0 borrados
  1. 24 0
      wercker.yml

+ 24 - 0
wercker.yml

@@ -1,2 +1,26 @@
 box: wercker/golang
 
+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/
+