Unified - adapt the generation of chacha assembler to use GENERATE
[openssl.git] / .travis.yml
index f1c43cc4140e3fdda3483fa694a96f7ec04c9b1c..82fada2c7666806118a263786c1d081473791e30 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,9 @@ before_script:
           srcdir=../_srcdir;
           mkdir _build;
           cd _build;
+          if which ccache >/dev/null; then
+              CC="ccache $CC";
+          fi
       else
           srcdir=.;
           cd _srcdist;
@@ -78,7 +83,7 @@ before_script:
     - cd ..
 
 script:
-    - if expr "$CONFIG_OPTS" : "--unified"; then
+    - if echo "$CONFIG_OPTS" | grep "--unified" >/dev/null; then
           cd _build;
       else
           cd _srcdist;