libwebsockets/travis_install.sh
=?UTF-8?q?Joakim=20S=C3=B6derberg?= 7ef8855530 Subject: [PATCH] Attempt at fixing Travis for OSX.
Move install into external shell script. We cannot use apt-get on OSX, use brew instead... Also valgrind isn't used at the moment so skip intalling it.
2014-12-13 12:23:41 +08:00

23 lines
334 B
Bash
Executable file

#!/bin/bash
if [ "$COVERITY_SCAN_BRANCH" == 1 ]; then exit; fi
if [ "$TRAVIS_OS_NAME" == "linux" ];
then
sudo apt-get update -qq
if [ "$LWS_METHOD" == "libev" ];
then
sudo apt-get install -y -qq libev-dev;
fi
fi
if [ "$TRAVIS_OS_NAME" == "osx" ];
then
if [ "$LWS_METHOD" == "libev" ];
then
brew install libev;
fi
fi