Commit 7a3ad22f authored by Marek Vavruša's avatar Marek Vavruša

travis: rebuild python from brew

parent c7704fc4
......@@ -15,12 +15,11 @@ matrix:
env:
global:
- PKG_CONFIG_PATH="${HOME}/.local/lib/pkgconfig"
- PATH="${HOME}/.local/bin:/usr/local/bin:${PATH}"
- CFLAGS="${CFLAGS} -O0 -g -DNDEBUG"
- LD_LIBRARY_PATH="${HOME}/.local/lib"
- DYLD_LIBRARY_PATH="${HOME}/.local/lib"
- PATH="${PATH}:${HOME}/.local/bin"
- CFLAGS="${CFLAGS} -O0 -g -DNDEBUG"
before_script:
- pip install --user travis -r tests/pydnstest/requirements.txt cpp-coveralls
- ./scripts/bootstrap-depends.sh ${HOME}/.local
script:
- make ${MAKEOPTS} check COVERAGE=1
......
......@@ -13,9 +13,15 @@ install -d ${PREFIX}/{lib,libexec,include,bin,sbin,man,share,etc,info,doc,var}
[ ! -d .depend ] && mkdir .depend; cd .depend
# platform-specific
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew upgrade
PIP_PKGS="${TRAVIS_BUILD_DIR}/tests/pydnstest/requirements.txt cpp-coveralls"
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
brew install python
brew link --overwrite python
pip install --upgrade pip
pip install -r ${PIP_PKGS}
fi
if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
pip install --user ${USER} -r ${PIP_PKGS}
fi
# liburcu
......
Markdown is supported
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