mirror of
https://github.com/espressif/openthread.git
synced 2026-07-27 22:37:45 +00:00
[travis] extend ncp transport coverage (#4000)
This commit makes the travis run scan-build twice, for the UART and the SPI NCP configurations respectively.
This commit is contained in:
committed by
Jonathan Hui
parent
6d7098c0a8
commit
8a640a2cfa
@@ -54,6 +54,7 @@ python --version || die
|
||||
export CPPFLAGS="${CPPFLAGS} -I${TRAVIS_BUILD_DIR}/third_party/mbedtls/repo/include"
|
||||
export CPPFLAGS="${CPPFLAGS} -DMBEDTLS_CONFIG_FILE=\\\"mbedtls-config.h\\\""
|
||||
|
||||
# UART transport
|
||||
scan-build ./configure \
|
||||
--enable-application-coap \
|
||||
--enable-application-coap-secure \
|
||||
@@ -89,6 +90,43 @@ python --version || die
|
||||
--with-examples=posix || die
|
||||
|
||||
scan-build --status-bugs -analyze-headers -v make -j2 || die
|
||||
|
||||
# SPI transport
|
||||
scan-build ./configure \
|
||||
--enable-application-coap \
|
||||
--enable-application-coap-secure \
|
||||
--enable-border-agent \
|
||||
--enable-border-router \
|
||||
--enable-builtin-mbedtls=no \
|
||||
--enable-cert-log \
|
||||
--enable-channel-manager \
|
||||
--enable-channel-monitor \
|
||||
--enable-child-supervision \
|
||||
--enable-cli \
|
||||
--enable-commissioner \
|
||||
--enable-dhcp6-client \
|
||||
--enable-dhcp6-server \
|
||||
--enable-diag \
|
||||
--enable-dns-client \
|
||||
--enable-ecdsa \
|
||||
--enable-executable=no \
|
||||
--enable-ftd \
|
||||
--enable-jam-detection \
|
||||
--enable-joiner \
|
||||
--enable-legacy \
|
||||
--enable-mac-filter \
|
||||
--enable-mtd \
|
||||
--enable-mtd-network-diagnostic \
|
||||
--enable-ncp \
|
||||
--with-ncp-bus=spi \
|
||||
--enable-radio-only \
|
||||
--enable-raw-link-api \
|
||||
--enable-service \
|
||||
--enable-sntp-client \
|
||||
--enable-udp-forward \
|
||||
--with-examples=posix || die
|
||||
|
||||
scan-build --status-bugs -analyze-headers -v make -j2 || die
|
||||
}
|
||||
|
||||
[ $BUILD_TARGET != android-build ] || {
|
||||
|
||||
Reference in New Issue
Block a user