From 5688b25c1900932abad5f294f27e62889a069e2e Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Thu, 24 Mar 2016 21:50:16 -0400 Subject: [PATCH] limit deployment uploads for mac --- .travis.yml | 2 +- build.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a2962e0c1..7b830e7e50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ deploy: api_key: secure: N9hansErZKHl7G5Ed/hcBgwcvLuRjB7YAskAvSAYB+luacV6rSK7Vlm/4NyjaZCwWv5wOdBphle2S4yZLRDTdMwLrdQWwWYeZI60kE22c1amKJaf6j5ai2u/P3bt55klQ2yO2U/LacwHVoRtJlVdwSAXuDQ3zMd88VbBModQyxE= file_glob: true - file: artifacts/package/*.tar.gz + file: artifacts/package/*${TRAVIS_OS_NAME}*.tar.gz skip_cleanup: true on: repo: OmniSharp/omnisharp-roslyn diff --git a/build.sh b/build.sh index b7cdd953df..cd1fde7c34 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,6 @@ #!/bin/bash - +# Handle to many files on osx +if [ "$TRAVIS_OS_NAME" == "osx" ] || [uname== "Darwin" ]; then + ulimit -n 4096 +fi bash ./scripts/cake-bootstrap.sh "$@"