Commit 2b7ce3f5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

travis: add osx build with darwinssl

Closes #1706
parent af271ce9
Loading
Loading
Loading
Loading
+7 −4
Original line number Original line Diff line number Diff line
@@ -32,10 +32,13 @@ matrix:
          env: BUILD_TYPE=debug
          env: BUILD_TYPE=debug
        - os: osx
        - os: osx
          compiler: gcc
          compiler: gcc
          env: BUILD_TYPE=debug CONFIGURE=--with-ssl=/usr/local/opt/openssl
          env: BUILD_TYPE=debug C=--with-ssl=/usr/local/opt/openssl
        - os: osx
        - os: osx
          compiler: gcc
          compiler: gcc
          env: BUILD_TYPE=debug CONFIGURE=--with-ssl=/usr/local/opt/libressl
          env: BUILD_TYPE=debug C=--with-ssl=/usr/local/opt/libressl
        - os: osx
          compiler: clang
          env: BUILD_TYPE=debug C="--without-ssl --with-darwinssl"
        - os: osx
        - os: osx
          compiler: clang
          compiler: clang
          env: BUILD_TYPE=normal
          env: BUILD_TYPE=normal
@@ -82,13 +85,13 @@ script:
        fi
        fi
    - |
    - |
        if [ "$BUILD_TYPE" = "debug" ]; then
        if [ "$BUILD_TYPE" = "debug" ]; then
             ./configure --enable-debug --enable-werror $CONFIGURE
             ./configure --enable-debug --enable-werror $C
             make
             make
             make TFLAGS=-n test-nonflaky
             make TFLAGS=-n test-nonflaky
        fi
        fi
    - |
    - |
        if [ "$BUILD_TYPE" = "normal" ]; then
        if [ "$BUILD_TYPE" = "normal" ]; then
             ./configure --enable-warnings --enable-werror
             ./configure --enable-warnings --enable-werror $C
             make
             make
             make test-nonflaky
             make test-nonflaky
        fi
        fi