Ver Fonte

Moved npm install before test

Torkel Ödegaard há 10 anos atrás
pai
commit
dfcf68f21d
2 ficheiros alterados com 3 adições e 5 exclusões
  1. 0 1
      build.go
  2. 3 4
      wercker.yml

+ 0 - 1
build.go

@@ -70,7 +70,6 @@ func main() {
 
 		case "test":
 			test("./pkg/...")
-			grunt("test")
 
 		case "latest":
 			version += "-" + getGitSha()

+ 3 - 4
wercker.yml

@@ -9,18 +9,17 @@ build:
   steps:
     # Workspace
     - setup-go-workspace
+    - npm-install
     - script:
         name: build setup
         code: |
          go run build.go setup
     # Build the project
     - script:
-        name: build
+        name: go build
         code: |
           go run build.go clean test build
-    # frontend
-    - npm-install
-    # create packages
+   # create packages
     - script:
         name: create packages
         code: |