ref(ci): split unit-test and lint steps

pull/923/head
Adam Reese 9 years ago
parent 8d302bd039
commit 6ddcca583b

@ -13,12 +13,15 @@ dependencies:
- rm -rf "$GOPATH" - rm -rf "$GOPATH"
override: override:
# install go
- wget "https://storage.googleapis.com/golang/go${GOVERSION}.linux-amd64.tar.gz" - wget "https://storage.googleapis.com/golang/go${GOVERSION}.linux-amd64.tar.gz"
- sudo tar -C /usr/local -xzf "go${GOVERSION}.linux-amd64.tar.gz" - sudo tar -C /usr/local -xzf "go${GOVERSION}.linux-amd64.tar.gz"
# move repository to the canonical import path
- mkdir -p "$(dirname ${WORKDIR})" - mkdir -p "$(dirname ${WORKDIR})"
- cp -R "${HOME}/helm" "${WORKDIR}" - cp -R "${HOME}/helm" "${WORKDIR}"
# install dependencies
- cd "${WORKDIR}" && make bootstrap - cd "${WORKDIR}" && make bootstrap
post: post:
@ -26,7 +29,8 @@ dependencies:
test: test:
override: override:
- cd "${WORKDIR}" && make test - cd "${WORKDIR}" && make test-style
- cd "${WORKDIR}" && make test-unit
deployment: deployment:
gcr: gcr:

Loading…
Cancel
Save