Travis: add a strict build
authorRichard Levitte <levitte@openssl.org>
Thu, 3 Nov 2016 15:46:14 +0000 (16:46 +0100)
committerRichard Levitte <richard@levitte.org>
Fri, 4 Nov 2016 13:13:56 +0000 (14:13 +0100)
Clang on Linux seems to catch things that we might miss otherwise.
Also, throw in 'no-deprecated' to make sure we test that as well.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1839)
(cherry picked from commit 7b1954384114643e1a3c3a0ababa3fd7a112c5e3)

.travis.yml

index be03abc7ca96b20608ff18ca171334ff56023b36..fa7e2119d71fa3822b713c11507431f2bc82f765 100644 (file)
@@ -34,6 +34,9 @@ env:
 
 matrix:
     include:
+        - os: linux
+          compiler: clang-3.6
+          env: CONFIG_OPTS="--strict-warnings no-deprecated" BUILDONLY="yes"
         - os: linux
           compiler: gcc
           env: CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers" COVERALLS="yes"