only IPv4 allowed with travis

This commit is contained in:
Mike Ellery
2018-06-21 08:03:55 -07:00
committed by Nik Bougalis
parent 243e181c08
commit 68bebc472a
2 changed files with 5 additions and 6 deletions

View File

@@ -36,8 +36,7 @@ matrix:
include:
- compiler: gcc
env: GCC_VER=5 TARGET=debug
# - APP_ARGS="--unittest-jobs=2"
env: GCC_VER=5 TARGET=debug APP_ARGS="--unittest-ipv4"
# - compiler: gcc
# env: GCC_VER=5 TARGET=debug.nounity
@@ -46,7 +45,7 @@ matrix:
# env: GCC_VER=5 TARGET=coverage PATH=$PWD/cmake/bin:$PATH
- compiler: clang
env: GCC_VER=5 TARGET=debug
env: GCC_VER=5 TARGET=debug APP_ARGS="--unittest-ipv4"
# - compiler: clang
# env: GCC_VER=5 TARGET=debug.nounity

View File

@@ -118,11 +118,12 @@ declare -a manual_tests=(
"ripple.tx.PlumpBook"
)
: ${APP_ARGS:=}
if [[ ${APP} == "rippled" ]]; then
if [[ ${MANUAL_TESTS:-} == true ]]; then
APP_ARGS+="--unittest=$(join_by , "${manual_tests[@]}")"
APP_ARGS+=" --unittest=$(join_by , "${manual_tests[@]}")"
else
APP_ARGS+="--unittest --quiet --unittest-log"
APP_ARGS+=" --unittest --quiet --unittest-log"
fi
# Only report on src/ripple files
export LCOV_FILES="*/src/ripple/*"
@@ -132,7 +133,6 @@ if [[ ${APP} == "rippled" ]]; then
APP_ARGS+=" --unittest-jobs ${JOBS}"
fi
else
: ${APP_ARGS:=}
: ${LCOV_FILES:="*/src/*"}
# Don't exclude anything
: ${LCOV_EXCLUDE_FILES:="LCOV_NO_EXCLUDE"}