From e06eeed26504e7624b9c3fe24035853a6b2fa075 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Sun, 3 Mar 2019 22:53:05 +0100 Subject: [PATCH] gomod: add module cache to circleci cache License: MIT Signed-off-by: Jakub Sztandera --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f512741a8..2235a5367 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,6 +41,7 @@ jobs: - ~/.go_workspace - ~/.go_workspace/src/gx/ipfs - ./node_modules + - ~/.go_workspace/pkg/mod - run: cd "$HOME/.go_workspace/src/$IMPORT_PATH" && curl -s https://codecov.io/bash > codecov @@ -75,7 +76,7 @@ jobs: - ~/.go_workspace - ~/go1.11.linux-amd64.tar.gz - ~/.go_workspace/src/gx/ipfs - - ./node_modules + - ~/.go_workspace/pkg/mod - run: cd "$HOME/.go_workspace/src/$IMPORT_PATH" && curl -s https://codecov.io/bash > codecov - run: cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make -j 10 coverage/sharness_tests.coverprofile test/sharness/test-results/sharness.xml TEST_GENERATE_JUNIT=1 CONTINUE_ON_S_FAILURE=1