Unified - adapt the generation of chacha assembler to use GENERATE
[openssl.git] / .travis.yml
index dff2f94978a90e9e0d5272a97e92d88f1cb259dd..82fada2c7666806118a263786c1d081473791e30 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;
@@ -81,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;