mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-19 13:59:37 +01:00
commit
65911b3729
11
.travis.yml
11
.travis.yml
@ -2,6 +2,10 @@
|
||||
|
||||
language: c
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
# Build required projects first
|
||||
before_script:
|
||||
|
||||
@ -14,8 +18,13 @@ before_script:
|
||||
- ./autogen.sh
|
||||
- ./configure && make check
|
||||
- sudo make install
|
||||
- sudo ldconfig
|
||||
- if [ $TRAVIS_OS_NAME != "osx" ] ; then sudo ldconfig ; fi
|
||||
- cd ..
|
||||
|
||||
# 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
|
||||
|
||||
# Build and check libzmq
|
||||
script: ./autogen.sh && ./configure && make V=1 && make check
|
||||
|
Loading…
x
Reference in New Issue
Block a user