Library for MQTT
Diff: mbed-mqtt-master/paho_mqtt_embedded_c/travis-install.sh
- Revision:
- 0:ba7e439238ab
diff -r 000000000000 -r ba7e439238ab mbed-mqtt-master/paho_mqtt_embedded_c/travis-install.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-mqtt-master/paho_mqtt_embedded_c/travis-install.sh Mon Jun 20 16:24:43 2022 +0000 @@ -0,0 +1,19 @@ +#!/bin/bash + +if [ "$TRAVIS_OS_NAME" == "linux" ]; then + pwd + sudo service mosquitto stop + # Stop any mosquitto instance which may be still running from previous runs + killall mosquitto + mosquitto -h + mosquitto & +fi + +if [ "$TRAVIS_OS_NAME" == "osx" ]; then + pwd + brew update + brew install openssl mosquitto + brew services stop mosquitto + /usr/local/sbin/mosquitto -h + /usr/local/sbin/mosquitto & +fi