Document importance of CTLOG_STORE outliving SCT if SCT_set0_log is used
[openssl.git] / .travis.yml
index f1c43cc4140e3fdda3483fa694a96f7ec04c9b1c..ce7e208dbeb841bc90d839228e7ec03c97d5c78f 100644 (file)
@@ -1,8 +1,10 @@
 language: c
+cache: ccache
 
 addons:
     apt:
         packages:
+            - ccache
             - clang-3.6
             - gcc-5
             - binutils-mingw-w64
@@ -58,13 +60,16 @@ matrix:
 before_script:
     - sh .travis-create-release.sh $TRAVIS_OS_NAME
     - tar -xvzf _srcdist.tar.gz
-    - if echo "$CONFIG_OPTS" | grep "--unified" >/dev/null; then
+    - if echo "$CONFIG_OPTS" | grep "--classic" >/dev/null; then
+          srcdir=.;
+          cd _srcdist;
+      else
           srcdir=../_srcdir;
           mkdir _build;
           cd _build;
-      else
-          srcdir=.;
-          cd _srcdist;
+          if which ccache >/dev/null; then
+              CC="ccache $CC";
+          fi
       fi
     - if [ "$CC" == i686-w64-mingw32-gcc ]; then
           export CROSS_COMPILE=${CC%%gcc}; unset CC;
@@ -78,10 +83,10 @@ before_script:
     - cd ..
 
 script:
-    - if expr "$CONFIG_OPTS" : "--unified"; then
-          cd _build;
-      else
+    - if echo "$CONFIG_OPTS" | grep "--classic" >/dev/null; then
           cd _srcdist;
+      else
+          cd _build;
       fi
     - make
     - if [ -z "$BUILDONLY" ]; then