1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00

Correctly cache ccache build dir

According to
https://docs.travis-ci.com/user/caching/#ccache-cache
We typically would want to do `cache: ccache` but since we are also
caching other dirs we have this option set manually.

However it looks like the ccache dir was not set to be relative to home,
which meant we were not getting any of the ccache cache wins across
builds (which can be seen in how long it takes to rebuild v8worker2 each
time)
This commit is contained in:
Sam Saccone 2018-06-03 10:38:19 -07:00
parent 7b5fbc7197
commit 6c73d45015

View file

@ -2,8 +2,8 @@ language: c++
cache: cache:
ccache: true ccache: true
directories: directories:
- .cache/ - $HOME/.ccache
- node_modules/ - node_modules
- $V8WORKER2_OUT_PATH - $V8WORKER2_OUT_PATH
env: env:
global: global: