libzmq/.travis.yml

26 lines
842 B
YAML
Raw Normal View History

2014-08-12 12:30:43 +02:00
# Travis CI script
2013-05-21 09:20:39 +02:00
language: c
os:
- linux
- osx
# Build required projects first
before_script:
# 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 )
# ZMQ stress tests need more open socket (files) than the usual default
# On OSX, it seems the way to set the max files limit is constantly changing, so
# try to use all known knobs to ensure compatibility across various versions
- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; fi ; ulimit -n 64000
2014-08-12 12:30:43 +02:00
# Build and check this project
2014-08-12 12:22:17 +02:00
script:
- ./autogen.sh && ./configure && make && make check
2014-08-12 12:30:43 +02:00
- sudo make install