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 dff2f94978a90e9e0d5272a97e92d88f1cb259dd..ac8d81295dc4308f8725b1b7d96187f11f1f9331 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;