diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-11-22 22:32:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-22 22:32:50 +0800 |
commit | 6b2cc8950e55b1d93afb3c82bb1081cf931d62cf (patch) | |
tree | b91c1e45c42b0541c876dfedd08427486d427051 | |
parent | 2843001ac218040f7e773159596625654f4e4148 (diff) | |
download | go-tangerine-6b2cc8950e55b1d93afb3c82bb1081cf931d62cf.tar.gz go-tangerine-6b2cc8950e55b1d93afb3c82bb1081cf931d62cf.tar.zst go-tangerine-6b2cc8950e55b1d93afb3c82bb1081cf931d62cf.zip |
travis: increase open file limits (#18155)
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index c1cc7c4aa..33a4f8949 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,14 @@ matrix: - os: osx go: 1.11.x script: + - echo "Increase the maximum number of open file descriptors on macOS" + - NOFILE=20480 + - sudo sysctl -w kern.maxfiles=$NOFILE + - sudo sysctl -w kern.maxfilesperproc=$NOFILE + - sudo launchctl limit maxfiles $NOFILE $NOFILE + - sudo launchctl limit maxfiles + - ulimit -S -n $NOFILE + - ulimit -n - unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703 - go run build/ci.go install - go run build/ci.go test -coverage $TEST_PACKAGES |