From ef360a0a2a6cfecfa27ef67bf9349221aad43c98 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Tue, 10 May 2016 16:27:10 -0700 Subject: [PATCH 1/2] make circle.yml use make deps instead of trying to be smart License: MIT Signed-off-by: Jeromy --- circle.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index b0474d57368..a8cbd6ce81c 100644 --- a/circle.yml +++ b/circle.yml @@ -20,13 +20,11 @@ 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 - - go get -u github.com/whyrusleeping/gx - - go get -u github.com/whyrusleeping/gx-go override: - mkdir -p "$HOME/.go_workspace/src/$IMPORT_PATH" - cp -a ./* "$HOME/.go_workspace/src/$IMPORT_PATH" - - gx --verbose install --global + - cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps cache_directories: - ~/go1.5.2.linux-amd64.tar.gz From 563ff4531d162a2951ddecba3a659de8d2a7583c Mon Sep 17 00:00:00 2001 From: Jeromy Date: Fri, 13 May 2016 14:52:24 -0700 Subject: [PATCH 2/2] don't cache the code we're actually changing License: MIT Signed-off-by: Jeromy --- circle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/circle.yml b/circle.yml index a8cbd6ce81c..a9ff761b9dc 100644 --- a/circle.yml +++ b/circle.yml @@ -22,6 +22,7 @@ dependencies: - 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