gomod: add module cache to circleci cache
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Mar 3, 2019 at 22:53 UTC
e06eeed26504e7624b9c3fe24035853a6b2fa075
1 file changed
+2
-1
.circleci/config.yml
+2
-1
@@ -41,6 +41,7 @@ jobs:
41
- ~/.go_workspace
42
- ~/.go_workspace/src/gx/ipfs
43
- ./node_modules
44
+ - ~/.go_workspace/pkg/mod
45
46
47
- run: cd "$HOME/.go_workspace/src/$IMPORT_PATH" && curl -s https://codecov.io/bash > codecov
@@ -75,7 +76,7 @@ jobs:
76
- ~/.go_workspace
77
- ~/go1.11.linux-amd64.tar.gz
78
- ~/.go_workspace/src/gx/ipfs
78
- - ./node_modules
79
+ - ~/.go_workspace/pkg/mod
80
81
- run: cd "$HOME/.go_workspace/src/$IMPORT_PATH" && curl -s https://codecov.io/bash > codecov
82
- 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