1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00
Files
kubo/circle.yml
Steven Allen afda55bd16 fix circleci cache directory list
environment variable expansion doesn't work in the cache_directories section.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-08 12:58:19 -08:00

41 lines
1.1 KiB
YAML

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"
GOBIN: "$GOPATH/bin"
SERVICE: "circle-ci"
post:
- sudo rm -rf /usr/local/go
- if [ ! -e go1.9.2.linux-amd64.tar.gz ]; then curl -o go1.9.2.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz; fi
- sudo tar -C /usr/local -xzf go1.9.2.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 -aT . "$HOME/.go_workspace/src/$IMPORT_PATH"
- cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps
cache_directories:
- ~/go1.9.2.linux-amd64.tar.gz
- ~/.go_workspace/src/gx/ipfs
test:
override:
- bin/circle.sh:
pwd: "../.go_workspace/src/$IMPORT_PATH"
parallel: true