open-vault/vendor/github.com/sstarcher/go-okta/circleci.yml
2017-04-28 17:21:49 -04:00

20 lines
518 B
YAML

machine:
environment:
GOPATH: "${HOME}/.go_workspace"
IMPORT_PATH: "${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}"
APP_PATH: "${IMPORT_PATH}/${CIRCLE_PROJECT_REPONAME}"
dependencies:
override:
- sudo add-apt-repository ppa:masterminds/glide -y
- sudo apt-get update
- sudo apt-get install glide -y
test:
pre:
- mkdir -p "$IMPORT_PATH"
- ln -sf "$(pwd)" "${APP_PATH}"
- cd "${APP_PATH}" && glide install
override:
- cd "${APP_PATH}" && go test -cover $(glide nv)