Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apetree100122 patch 1 #2956

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Update travis-install.sh
  • Loading branch information
Apetree100122 committed Nov 23, 2023
commit 120cda1ef8cba570fedfa8306f345a571feaa7aa
38 changes: 26 additions & 12 deletions travis-install.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,30 @@
#!/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
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
if
[
"$TRAVIS_OS_NAME" =
= "osx"
]; then
HOMEBREW_NO_AUTO_UPDATE=
1 brew install
c-ares cjson openssl libwebsockets
fi sudo pip install paho-mqtt