Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 97b4403

Browse files
authored
Bring back bazel cache to make CI faster. (#210)
This was added in #176 then reverted in #207.
1 parent 97194d1 commit 97b4403

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ install:
1818
wget "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh" ;
1919
chmod +x bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh ;
2020
./bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh --user ;
21+
echo "build --disk_cache=$HOME/bazel-cache" > ~/.bazelrc ;
22+
echo "build --experimental_strict_action_env" >> ~/.bazelrc ;
2123
bazel version ;;
2224
esac
2325

0 commit comments

Comments
 (0)