0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 00:32:34 +08:00
libzmq/ci_build.sh
Luca Boccassi 20ba661019 Do not use ldconfig in CI if running on OSX
ldconfig is not available on OSX, so Travis CI build fails
2015-08-02 18:38:35 +01:00

17 lines
506 B
Bash
Executable File

#!/usr/bin/env bash
if [ $BUILD_TYPE == "default" ]; then
# Build required projects first
# libsodium
git clone git://github.com/jedisct1/libsodium.git
( cd libsodium; ./autogen.sh; ./configure; make check; sudo make install;
if [ $TRAVIS_OS_NAME != "osx" ] ; then sudo ldconfig ; fi )
# Build and check this project
./autogen.sh && ./configure --with-libsodium=yes && make && make check
sudo make install
else
cd ./builds/${BUILD_TYPE} && ./ci_build.sh
fi