[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
main
Igor Canadi 9 years ago
parent 2b683d4972
commit d93a9f2aaf
  1. 1
      .travis.yml

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

Loading…
Cancel
Save