Skip to content

Commit 8376779

Browse files
committed
configure circleci
1 parent db6e338 commit 8376779

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

circle.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
machine:
2+
environment:
3+
IMPORT_PATH: "github.com/ipfs/go-ipfs-cmds"
4+
GOPATH: "$HOME/.go_workspace"
5+
6+
services:
7+
- docker
8+
9+
dependencies:
10+
11+
override:
12+
- rm -rf "$HOME/.go_workspace/src/$IMPORT_PATH"
13+
- mkdir -p "$HOME/.go_workspace/src/$IMPORT_PATH"
14+
- cp -aT . "$HOME/.go_workspace/src/$IMPORT_PATH"
15+
- cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps
16+
17+
cache_directories:
18+
- "~/.go_workspace/src/gx/ipfs"
19+
20+
test:
21+
override:
22+
- go test -race ./...:
23+
pwd: "../.go_workspace/src/$IMPORT_PATH"
24+
parallel: true

0 commit comments

Comments
 (0)