blob: f51f087e77ac3bbcf97c9ab0f52ffbeb8d460483 [file] [log] [blame]
#!/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
if [ "$LWS_METHOD" == "libuv" -o "$LWS_METHOD" == "lwsws" ];
then
sudo apt-get install -y -qq libuv-dev;
fi
fi
if [ "$TRAVIS_OS_NAME" == "osx" ];
then
if [ "$LWS_METHOD" == "libev" ];
then
brew install libev;
fi
if [ "$LWS_METHOD" == "libuv" -o "$LWS_METHOD" == "lwsws" ];
then
brew install libuv;
fi
fi