Commit d65dab20 authored by Richard Newton's avatar Richard Newton

Merge pull request #1504 from bluca/travis-file-limit

Increase file limit in travis config
parents 23655c5c 85da2ea4
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment