mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Increase file limit in travis config
Test cases occasionally fail, especially on OSX, due to socket limit. Part of fix for #1502
This commit is contained in:
parent
23655c5c56
commit
85da2ea42f
@ -10,5 +10,11 @@ env:
|
||||
- BUILD_TYPE=default
|
||||
- BUILD_TYPE=qt-android
|
||||
|
||||
before_script:
|
||||
# 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 this project according to the BUILD_TYPE
|
||||
script: ./ci_build.sh
|
||||
|
Loading…
Reference in New Issue
Block a user