travis: cache output directories
- bazel-cache: manually-specified --output_base for asylo-toolchain
built code
- cargo-cache: Rust package cache
- .cache/bazel: default output base for normal-C++ built code
@@ -3,6 +3,13 @@ language: shell
services:
- docker
+cache:
+ timeout: 600
+ directories:
+ - bazel-cache # explicit cache directory for Docker builds (scripts/docker_run)
+ - cargo-cache # default cache directory for Rust builds, shared with Docker builds
+ - .cache/bazel # default cache directory for local Bazel builds
+
env:
- FORMAT_CHECKS=true
- BUILD_SERVER=true
