diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-07 11:22:00 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-08 16:59:27 +0100 |
commit | c9aad4ff4f9f37a2d8685db4b1ce310452f41e89 (patch) | |
tree | 913481bad1be14521da12dec0e6ff60465e6395d | |
parent | bd5fbfe22bfc95949836bfedea00571b41cdbddd (diff) |
Only enable ccache if it's available
Reviewed-by: Emilia Käsper <emilia@openssl.org>
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index dff2f94978..ac8d81295d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,9 @@ before_script: srcdir=../_srcdir; mkdir _build; cd _build; - CC="ccache $CC"; + if which ccache >/dev/null; then + CC="ccache $CC"; + fi else srcdir=.; cd _srcdist; |