Skip to content
Snippets Groups Projects
Commit 6c91f0fe authored by Marek Vavruša's avatar Marek Vavruša
Browse files

scripts: added cwrap socket_wrapper for Travis build

parent c2035b1f
Branches
Tags
No related merge requests found
......@@ -17,6 +17,8 @@ GNUTLS_TAG="3.3.12"
GNUTLS_URL="ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-${GNUTLS_TAG}.tar.xz"
LUA_TAG="5.2.3"
LUA_URL="http://www.lua.org/ftp/lua-${LUA_TAG}.tar.gz"
CWRAP_TAG="master"
CWRAP_URL="git://git.samba.org/socket_wrapper.git"
# prepare install prefix
PREFIX=${1}; [ -z ${PREFIX} ] && export PREFIX="${HOME}/.local"
......@@ -85,8 +87,10 @@ if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
brew link --overwrite python || true
pip install --upgrade pip || true
pip install -r ${PIP_PKGS}
pkg cwrap ${CWRAP_URL} ${CWRAP_TAG} lib/pkgconfig/socket_wrapper.pc
fi
if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
pkg cwrap ${CWRAP_URL} ${CWRAP_TAG} lib/pkgconfig/socket_wrapper.pc
pip install --user ${USER} -r ${PIP_PKGS}
rm ${HOME}/.cache/pip/log/debug.log || true
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment