Use ccache for the unified builds
authorRichard Levitte <levitte@openssl.org>
Sun, 6 Mar 2016 23:33:35 +0000 (00:33 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 8 Mar 2016 15:59:27 +0000 (16:59 +0100)
This may speed up our builds considerably

Reviewed-by: Emilia Käsper <emilia@openssl.org>
.travis.yml

index f1c43cc4140e3fdda3483fa694a96f7ec04c9b1c..dff2f94978a90e9e0d5272a97e92d88f1cb259dd 100644 (file)
@@ -1,8 +1,10 @@
 language: c
+cache: ccache
 
 addons:
     apt:
         packages:
+            - ccache
             - clang-3.6
             - gcc-5
             - binutils-mingw-w64
@@ -62,6 +64,7 @@ before_script:
           srcdir=../_srcdir;
           mkdir _build;
           cd _build;
+          CC="ccache $CC";
       else
           srcdir=.;
           cd _srcdist;