Commit b5914707 authored by Emilia Kasper's avatar Emilia Kasper
Browse files

Adjust --strict-warnings builds in Travis



In Travis, do --strict-warnings on BUILDONLY configurations. This
ensures that the tests run even if --strict-warnings fail, and avoids
hiding unrelated test failures.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 578a0004
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -24,12 +24,12 @@ compiler:

env:
    - CONFIG_OPTS="shared"
    - CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2"
    - CONFIG_OPTS="" BUILDONLY="yes"
    - CONFIG_OPTS="--debug enable-crypto-mdebug enable-rc5 enable-md2"
    - CONFIG_OPTS="--strict-warnings" BUILDONLY="yes"
    - CONFIG_OPTS="--classic" BUILDONLY="yes"
    - CONFIG_OPTS="--classic shared" BUILDONLY="yes"
    - CONFIG_OPTS="no-pic" BUILDONLY="yes"
    - CONFIG_OPTS="no-engine" BUILDONLY="yes"
    - CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes"
    - CONFIG_OPTS="no-engine --strict-warnings" BUILDONLY="yes"

matrix:
    include:
@@ -38,13 +38,13 @@ matrix:
          env: CONFIG_OPTS="-fsanitize=address"
        - os: linux
          compiler: clang-3.6
          env: CONFIG_OPTS="no-asm --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2"
          env: CONFIG_OPTS="no-asm -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2"
        - os: linux
          compiler: gcc-5
          env: CONFIG_OPTS="-fsanitize=address"
        - os: linux
          compiler: gcc-5
          env: CONFIG_OPTS="no-asm --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2"
          env: CONFIG_OPTS="no-asm -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2"
        - os: linux
          compiler: i686-w64-mingw32-gcc
          env: CONFIG_OPTS="no-pic"
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,11 @@

 Changes between 1.0.2g and 1.1.0  [xx XXX xxxx]

  *) --strict-warnings no longer enables runtime debugging options
     such as REF_DEBUG. Instead, debug options are automatically
     enabled with '--debug' builds.
     [Andy Polyakov, Emilia Käsper]

  *) Made DH and DH_METHOD opaque. The structures for managing DH objects
     have been moved out of the public header files. New functions for managing
     these have been added.