Skip to content

Commit

Permalink
travis: Enable ccache
Browse files Browse the repository at this point in the history
Using ccache ought to speed up test builds. Let's emit the state of the
cache before and after the build so we can monitor that.
  • Loading branch information
mikecrowe committed Jul 14, 2020
1 parent 41eb26c commit 78211c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dist: focal
sudo: false
language: cpp
cache: ccache

addons:
apt:
Expand All @@ -9,6 +10,8 @@ addons:
script:
- mkdir -p travis-build
- cd travis-build
- ccache -s
- cmake .. -G Ninja
- cmake --build . -- -k 100
- ctest .
- ccache -s

0 comments on commit 78211c0

Please sign in to comment.