=?UTF-8?q?Joakim=20S=C3=B6derberg?= | 7ef8855 | 2014-12-11 17:49:31 +0100 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | if [ "$COVERITY_SCAN_BRANCH" == 1 ]; then exit; fi |
| 4 | |
| 5 | if [ "$TRAVIS_OS_NAME" == "linux" ]; |
| 6 | then |
| 7 | sudo apt-get update -qq |
| 8 | |
| 9 | if [ "$LWS_METHOD" == "libev" ]; |
| 10 | then |
| 11 | sudo apt-get install -y -qq libev-dev; |
| 12 | fi |
Andy Green | 0207705 | 2016-04-06 16:15:40 +0800 | [diff] [blame] | 13 | |
| 14 | if [ "$LWS_METHOD" == "libuv" -o "$LWS_METHOD" == "lwsws" ]; |
| 15 | then |
| 16 | sudo apt-get install -y -qq libuv-dev; |
| 17 | fi |
| 18 | |
=?UTF-8?q?Joakim=20S=C3=B6derberg?= | 7ef8855 | 2014-12-11 17:49:31 +0100 | [diff] [blame] | 19 | fi |
| 20 | |
| 21 | if [ "$TRAVIS_OS_NAME" == "osx" ]; |
| 22 | then |
| 23 | if [ "$LWS_METHOD" == "libev" ]; |
| 24 | then |
| 25 | brew install libev; |
| 26 | fi |
Andy Green | 0207705 | 2016-04-06 16:15:40 +0800 | [diff] [blame] | 27 | |
| 28 | if [ "$LWS_METHOD" == "libuv" -o "$LWS_METHOD" == "lwsws" ]; |
| 29 | then |
| 30 | brew install libuv; |
| 31 | fi |
| 32 | |
=?UTF-8?q?Joakim=20S=C3=B6derberg?= | 7ef8855 | 2014-12-11 17:49:31 +0100 | [diff] [blame] | 33 | fi |
| 34 | |
| 35 | |