Try 'make install' with one of the Travis configurations
[openssl.git] / .travis.yml
index 86a0dcbef5a48383c576d5ec2cbe21a5a5fc56b4..78cee30374c5547f5a20034b2f36c5bee2565a82 100644 (file)
@@ -23,7 +23,7 @@ compiler:
     - gcc
 
 env:
-    - CONFIG_OPTS=""
+    - CONFIG_OPTS="" DESTDIR="_install"
     - CONFIG_OPTS="--debug no-shared enable-crypto-mdebug enable-rc5 enable-md2"
     - CONFIG_OPTS="--strict-warnings no-shared" BUILDONLY="yes"
     - CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes"
@@ -85,6 +85,10 @@ script:
       else
           make build_tests;
       fi
+    - if [ -n "$DESTDIR" ]; then
+          mkdir "../$DESTDIR";
+          make install DESTDIR="../$DESTDIR";
+      fi
     - cd ..
 
 notifications: