mosquitto/travis-install.sh
2020-07-10 21:30:30 +01:00

17 lines
435 B
Bash
Executable File

#!/bin/bash
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get update -qq
sudo apt-get install -y debhelper libc-ares-dev libssl-dev libwrap0-dev python-all python3-all uthash-dev xsltproc docbook-xsl libcunit1-dev
git clone https://github.com/DaveGamble/cJSON
sudo make -C cJSON install
fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update
brew install c-ares cjson openssl libwebsockets
fi
sudo pip install paho-mqtt