travis: add osx build with darwinssl

Closes #1706
This commit is contained in:
Daniel Stenberg 2017-08-04 00:04:39 +02:00
Родитель af271ce9b9
Коммит 2b7ce3f56d
1 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -32,10 +32,13 @@ matrix:
env: BUILD_TYPE=debug
- os: osx
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
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
compiler: clang
env: BUILD_TYPE=normal
@ -82,13 +85,13 @@ script:
fi
- |
if [ "$BUILD_TYPE" = "debug" ]; then
./configure --enable-debug --enable-werror $CONFIGURE
./configure --enable-debug --enable-werror $C
make
make TFLAGS=-n test-nonflaky
fi
- |
if [ "$BUILD_TYPE" = "normal" ]; then
./configure --enable-warnings --enable-werror
./configure --enable-warnings --enable-werror $C
make
make test-nonflaky
fi