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

travis: osx build brew before depends

parent c578af89
Branches
Tags
No related merge requests found
......@@ -20,16 +20,12 @@ env:
- PATH="${PATH}:${HOME}/.local/bin"
- CFLAGS="${CFLAGS} -O0 -g -DNDEBUG"
before_script:
- ./scripts/bootstrap-depends.sh ${HOME}/.local
- pip install --user travis -r tests/pydnstest/requirements.txt cpp-coveralls
- test $TRAVIS_OS_NAME = osx \
&& brew update \
&& brew install python
- ./scripts/bootstrap-depends.sh ${HOME}/.local
script:
- make ${MAKEOPTS} check COVERAGE=1
after_success:
- test $TRAVIS_OS_NAME = linux \
&& coveralls -i lib -x ".c" --gcov-options '\-lp'
- test $TRAVIS_OS_NAME = linux && coveralls -i lib -x ".c" --gcov-options '\-lp'
sudo: false
cache:
directories:
......
......@@ -12,6 +12,12 @@ PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"
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
brew install python
fi
# liburcu
if [ ! -e ${PREFIX}/include/urcu.h ]; then
git clone -b ${URCU_TAG} git://git.urcu.so/userspace-rcu.git || true
......
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