Fix running of Python broker

This commit is contained in:
Ian Craggs 2018-03-20 23:39:12 +00:00
parent c6aba7f145
commit 8c812eb527
1 changed files with 6 additions and 5 deletions

View File

@ -10,19 +10,20 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
git clone https://github.com/eclipse/paho.mqtt.testing.git
cd paho.mqtt.testing/interoperability
python3 startbroker.py -c localhost_testing.conf
python3 startbroker.py -c localhost_testing.conf &
cd ../..
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 &
# brew install openssl mosquitto
# brew services stop mosquitto
# /usr/local/sbin/mosquitto -c test/tls-testing/mosquitto.conf &
brew install python3
git clone https://github.com/eclipse/paho.mqtt.testing.git
cd paho.mqtt.testing/interoperability
python3 startbroker.py -c localhost_testing.conf
python3 startbroker.py -c localhost_testing.conf &
cd ../..
fi