Moved npm install before test

This commit is contained in:
Torkel Ödegaard 2015-03-04 07:20:36 +01:00
parent d89c77af54
commit dfcf68f21d
2 changed files with 3 additions and 5 deletions

View File

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

View File

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