[travis CI] Run ulimit -n 2000

Summary: This should let us pass tests on OS X.

Test Plan: none yet

Reviewers: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D46989
This commit is contained in:
Igor Canadi 2015-09-15 12:12:24 -07:00
parent 2b683d4972
commit d93a9f2aaf

View File

@ -16,6 +16,7 @@ matrix:
before_script:
- if [ -n "${COMPILER}" ]; then CXX=${COMPILER}; fi
- if [[ $(uname -s) == 'Darwin' ]]; then brew install gflags snappy; fi
- ulimit -n 2000 || true
# Lousy hack to disable use and testing of fallocate, which doesn't behave quite
# as EnvPosixTest::AllocateTest expects within the Travis OpenVZ environment.