blob: 0405da6299cecd10e16fc8b6870536d2a932dc5a [file] [log] [blame]
#!/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 -c test/tls-testing/mosquitto.conf &
fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
pwd
brew update
brew install openssl mosquitto
brew services stop mosquitto
/usr/local/sbin/mosquitto -c test/tls-testing/mosquitto.conf &
fi