mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-06 00:31:13 +01:00
Problem: no CI tests with DRAFT enabled
Solution: do default test with DRAFT APIs enabled
This commit is contained in:
parent
6de24c190a
commit
a782be73ac
10
.travis.yml
10
.travis.yml
@ -9,19 +9,19 @@ os:
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILD_TYPE=default CURVE=tweetnacl
|
- BUILD_TYPE=default CURVE=tweetnacl DRAFT=enabled
|
||||||
- BUILD_TYPE=android CURVE=tweetnacl
|
- BUILD_TYPE=android CURVE=tweetnacl
|
||||||
- BUILD_TYPE=cmake CURVE=tweetnacl
|
- BUILD_TYPE=cmake CURVE=tweetnacl
|
||||||
- BUILD_TYPE=default CURVE=libsodium
|
- BUILD_TYPE=default CURVE=libsodium
|
||||||
- BUILD_TYPE=default
|
- BUILD_TYPE=default
|
||||||
- BUILD_TYPE=coverage CURVE=tweetnacl
|
- BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
|
||||||
- BUILD_TYPE=valgrind CURVE=tweetnacl
|
- BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- env: BUILD_TYPE=coverage CURVE=tweetnacl
|
- env: BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
|
||||||
os: osx
|
os: osx
|
||||||
- env: BUILD_TYPE=valgrind CURVE=tweetnacl
|
- env: BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
|
||||||
os: osx
|
os: osx
|
||||||
include:
|
include:
|
||||||
- env: BUILD_TYPE=default CURVE=tweetnacl IPv6=ON
|
- env: BUILD_TYPE=default CURVE=tweetnacl IPv6=ON
|
||||||
|
@ -23,6 +23,12 @@ if [ $BUILD_TYPE == "default" ]; then
|
|||||||
( cd libsodium; ./autogen.sh; ./configure --prefix=$BUILD_PREFIX; make check; make install)
|
( cd libsodium; ./autogen.sh; ./configure --prefix=$BUILD_PREFIX; make check; make install)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z $DRAFT ] || [ $DRAFT == "disabled" ]; then
|
||||||
|
CONFIG_OPTS+=("--enable-drafts=no")
|
||||||
|
elif [ $DRAFT == "enabled" ]; then
|
||||||
|
CONFIG_OPTS+=("--enable-drafts=yes")
|
||||||
|
fi
|
||||||
|
|
||||||
# Build and check this project
|
# Build and check this project
|
||||||
(
|
(
|
||||||
./autogen.sh &&
|
./autogen.sh &&
|
||||||
|
Loading…
Reference in New Issue
Block a user