Skip to content

Commit b40b125

Browse files
committed
[build] Add initial circleci config
1 parent 93543b5 commit b40b125

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.circleci/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Golang CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-go/ for more details
4+
version: 2
5+
jobs:
6+
build:
7+
docker:
8+
# specify the version
9+
- image: circleci/golang:1.9
10+
11+
# Specify service dependencies here if necessary
12+
# CircleCI maintains a library of pre-built images
13+
# documented at https://circleci.com/docs/2.0/circleci-images/
14+
# - image: circleci/postgres:9.4
15+
16+
#### TEMPLATE_NOTE: go expects specific checkout path representing url
17+
#### expecting it in the form of
18+
#### /go/src/github.com/circleci/go-tool
19+
#### /go/src/bitbucket.org/circleci/go-tool
20+
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
21+
steps:
22+
- checkout
23+
24+
# specify any bash command here prefixed with `run: `
25+
- run: go get -v -t -d ./...
26+
- run: go test -v ./...

0 commit comments

Comments
 (0)