Bring back bazel cache to make CI faster. (#210)

This was added in #176 then reverted in #207.
pull/212/head^2
easy 5 years ago committed by GitHub
parent 97194d1225
commit 97b44036d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .travis.yml

@ -18,6 +18,8 @@ install:
wget "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh" ;
chmod +x bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh ;
./bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh --user ;
echo "build --disk_cache=$HOME/bazel-cache" > ~/.bazelrc ;
echo "build --experimental_strict_action_env" >> ~/.bazelrc ;
bazel version ;;
esac

Loading…
Cancel
Save