Travis helpers.

This commit is contained in:
Roger A. Light 2016-06-07 16:56:15 +01:00
parent 8663d6aff7
commit e02019ee5b
2 changed files with 17 additions and 0 deletions

5
travis-configure.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
cmake .
fi

12
travis-install.sh Executable file
View File

@ -0,0 +1,12 @@
#!/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 uuid-dev libuuid1 xsltproc docbook-xsl
fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update
brew install c-ares openssl libwebsockets
fi