You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
582 B
Bash
21 lines
582 B
Bash
#!/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
|
|
make -C cJSON
|
|
sudo make PREFIX=/usr -C cJSON install
|
|
fi
|
|
|
|
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
|
<<<<<<< cc47eaba09d024fc76915f3fd42c364b7cf5b309
|
|
=======
|
|
#brew update
|
|
>>>>>>> Bridge Dynamic Update 2.0.0
|
|
HOMEBREW_NO_AUTO_UPDATE=1 brew install c-ares cjson openssl libwebsockets
|
|
fi
|
|
|
|
sudo pip install paho-mqtt
|