Only enable ccache if it's available
authorRichard Levitte <levitte@openssl.org>
Mon, 7 Mar 2016 10:22:00 +0000 (11:22 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 8 Mar 2016 15:59:27 +0000 (16:59 +0100)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
.travis.yml

index dff2f94..ac8d812 100644 (file)
@@ -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;