mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-20 18:48:16 +00:00
Problem: travis OSX job does not set ulimit
Solution: do it, as it's still needed for OSX
This commit is contained in:
parent
63ed586aec
commit
159b511b6c
@ -27,7 +27,7 @@ before_install:
|
||||
# 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
|
||||
- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; ulimit -n 64000 ; fi
|
||||
|
||||
# Build and check this project
|
||||
script:
|
||||
|
Loading…
x
Reference in New Issue
Block a user