2016-03-15 11:44:23 +00:00
|
|
|
#!/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
|
|
|
|
sudo make -C cJSON install
|
2016-03-15 11:44:23 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
|
|
|
brew update
|
2019-10-15 14:56:11 +00:00
|
|
|
brew install c-ares cjson openssl libwebsockets
|
2016-03-15 11:44:23 +00:00
|
|
|
fi
|
2016-06-21 14:47:41 +00:00
|
|
|
|
|
|
|
sudo pip install paho-mqtt
|