Files
paho.mqtt-sn.embedded-c/travis-build.sh
tomoaki 5fb4312aad This branch for debugging DTLS #90, #150, #195, #227
The purpose of this branch is to share work in process.
Change sellect() of UDP to poll()
Rewrite UDP6 for DTLS6

Known bug: can't reconnect DTLS

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-08-01 19:45:58 +09:00

30 lines
549 B
Bash
Executable File

#!/bin/bash
set -e
rm -rf build.paho
mkdir build.paho
cd build.paho
echo "travis build dir $TRAVIS_BUILD_DIR pwd $PWD"
cmake .. -DSENSORNET=loralink
make
ctest -VV --timeout 600
cmake .. -DSENSORNET=rfcomm
make MQTT-SNGateway
cmake .. -DSENSORNET=xbee
make MQTT-SNGateway
cmake .. -DSENSORNET=udp6
make MQTT-SNGateway
cmake .. -DSENSORNET=dtls
make MQTT-SNGateway
cmake .. -DSENSORNET=udp
make MQTT-SNGateway
cd ../MQTTSNGateway/GatewayTester
make SENSORNET=UDP6
make SENSORNET=DTLS
make SENSORNET=DTLS6
make SENSORNET=RFCOMM
make SENSORNET=UDP