mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
17 lines
475 B
Bash
Executable File
17 lines
475 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
|
|
make -C cJSON
|
|
sudo make PREFIX=/usr -C cJSON install
|
|
fi
|
|
|
|
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
|
HOMEBREW_NO_AUTO_UPDATE=1 brew install c-ares cjson openssl libwebsockets
|
|
fi
|
|
|
|
sudo pip install paho-mqtt
|