From 1a7729718248277cf87e2adf2884486f0f455fd2 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Fri, 12 Jun 2015 15:33:06 +0200 Subject: [PATCH 1/2] t0060: export IPFS_PATH IPFS_PATH should really be exported to make sure it is available to the ipfs binary. It looks like sharness tests fail otherwise on CircleCi. License: MIT Signed-off-by: Christian Couder --- test/sharness/t0060-daemon.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/sharness/t0060-daemon.sh b/test/sharness/t0060-daemon.sh index 91e59e7497c..e0aff7b5edf 100755 --- a/test/sharness/t0060-daemon.sh +++ b/test/sharness/t0060-daemon.sh @@ -10,7 +10,8 @@ test_description="Test daemon command" # this needs to be in a different test than "ipfs daemon --init" below test_expect_success "setup IPFS_PATH" ' - IPFS_PATH="$(pwd)/.ipfs" + IPFS_PATH="$(pwd)/.ipfs" && + export IPFS_PATH ' # NOTE: this should remove bootstrap peers (needs a flag) From 15d9a5ccae8f523186d013b44c161b30b96c7aae Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Thu, 21 May 2015 00:12:37 -0400 Subject: [PATCH 2/2] add circleci support License: MIT Signed-off-by: Juan Batiz-Benet --- circle.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 00000000000..e5b970638bf --- /dev/null +++ b/circle.yml @@ -0,0 +1,15 @@ +machine: + environment: + TEST_NO_FUSE: 1 + TEST_VERBOSE: 1 + TRAVIS: 1 + +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 + +test: + override: + - make test_go_expensive + - make test_sharness_expensive