-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcircle.yml
More file actions
27 lines (25 loc) · 830 Bytes
/
circle.yml
File metadata and controls
27 lines (25 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
machine:
environment:
DOCKER_IP: "127.0.0.1"
GOPATH: "/home/ubuntu/.go_workspace"
ORG_PATH: "github.com/socketplane"
REPO_PATH: "${ORG_PATH}/ecc"
dependencies:
override:
- rm -rf ${GOPATH}/src/${REPO_PATH}
- mkdir -p ${GOPATH}/src/${ORG_PATH}
- cp -r ../ecc ${GOPATH}/src/${ORG_PATH}
- mkdir -p ${CIRCLE_ARTIFACTS}/coverage
- go get github.com/mattn/goveralls
test:
override:
- make build:
pwd: ../.go_workspace/src/${REPO_PATH}
- make test-all:
pwd: ../.go_workspace/src/${REPO_PATH}
post:
- go tool cover -html=coverage.out -o $CIRCLE_ARTIFACTS/coverage/index.html:
pwd: ../.go_workspace/src/${REPO_PATH}
- goveralls -coverprofile=coverage.out -service=circleci -repotoken $COVERALLS_TOKEN:
pwd: ../.go_workspace/src/${REPO_PATH}