open-vault/vendor/github.com/sstarcher/go-okta/circleci.yml

20 lines
518 B
YAML
Raw Normal View History

2017-01-27 00:08:52 +00:00
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)