mosquitto/travis-install.sh

18 lines
463 B
Bash
Raw Normal View History

#!/bin/bash
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get update -qq
2020-07-10 20:30:30 +00:00
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
make -C cJSON
2020-07-16 15:19:33 +00:00
sudo make PREFIX=/usr -C cJSON install
fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
#brew update
2019-10-15 14:56:11 +00:00
brew install c-ares cjson openssl libwebsockets
fi
sudo pip install paho-mqtt