travis: add osx build with darwinssl

Closes #1706
This commit is contained in:
Daniel Stenberg 2017-08-04 00:04:39 +02:00
parent af271ce9b9
commit 2b7ce3f56d

View File

@ -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