Skip to content

Commit

Permalink
Bazel repo cache
Browse files Browse the repository at this point in the history
  • Loading branch information
anders617 committed Nov 5, 2019
1 parent ebba755 commit cf482ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ build --remote_cache=http://michigan-dining-api.bazel-cache.andersboberg.com:555
# Write to cache to allow travis to do some caching
build --disk_cache=/home/travis/bazel-cache

# Write repos to cache that travis can save
build --repository_cache=/home/travis/bazel-repo-cache

# This is so we understand failures better
build --verbose_failures

# Prevent bazel from spamming travis output
build --noshow_loading_progress
build --noshow_progress

# By default Bazel logs test failures to a log file. This option will print them to the screen instead.
test --test_output=errors
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dist: trusty
cache:
directories:
- /home/travis/bazel-cache
- /home/travis/bazel-repo-cache

addons:
apt:
Expand Down

0 comments on commit cf482ca

Please sign in to comment.