Skip to content

Commit

Permalink
Merge pull request #23 from storageos/circleci
Browse files Browse the repository at this point in the history
add circleci basic config
  • Loading branch information
croomes authored Sep 12, 2017
2 parents 31e2926 + 0ad2497 commit c62601b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.8

#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/storageos/go-api
steps:
- checkout

# specify any bash command here prefixed with `run: `
- run: go get -v -t -d ./...
- run: go vet -v $(go list ./... | grep -v /vendor/)
- run: go test -v -race $(go list ./... | grep -v /vendor/)

0 comments on commit c62601b

Please sign in to comment.