forked from ipfs/kubo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
circle.yml
39 lines (33 loc) · 1.11 KB
/
circle.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
machine:
environment:
TEST_NO_FUSE: 1
TEST_VERBOSE: 1
TEST_NO_DOCKER: 1
TRAVIS: 1
CIRCLE: 1
IMPORT_PATH: "github.com/ipfs/go-ipfs"
GOPATH: "$HOME/.go_workspace"
post:
- sudo rm -rf /usr/local/go
- if [ ! -e go1.7.linux-amd64.tar.gz ]; then curl -o go1.7.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz; fi
- sudo tar -C /usr/local -xzf go1.7.linux-amd64.tar.gz
services:
- docker
dependencies:
pre:
# setup ipv6
- sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 net.ipv6.conf.default.disable_ipv6=0 net.ipv6.conf.all.disable_ipv6=0
override:
- rm -rf "$HOME/.go_workspace/src/$IMPORT_PATH"
- mkdir -p "$HOME/.go_workspace/src/$IMPORT_PATH"
- cp -a ./* "$HOME/.go_workspace/src/$IMPORT_PATH"
- cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps
cache_directories:
- ~/go1.7.linux-amd64.tar.gz
- "$HOME/.go_workspace/src/gx/ipfs"
test:
override:
- make test_go_expensive:
pwd: "../.go_workspace/src/$IMPORT_PATH"
- make test_sharness_expensive:
pwd: "../.go_workspace/src/$IMPORT_PATH"