Auto merge of #2840 - micbou:fix-macos-travis, r=puremourning

[READY] Fix macOS builds on Travis

Fix the `shell_session_update: command not found` error in macOS builds on Travis by removing [the `cd`, `popd`, `pushd` functions defined by RVM](ff63fa117b/scripts/cd (L14-L16)). See https://github.com/travis-ci/travis-ci/issues/8703#issuecomment-347881274.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2840)
<!-- Reviewable:end -->
This commit is contained in:
zzbot 2017-12-01 07:56:17 -08:00 committed by GitHub
commit d99eb5d5cb

View File

@ -2,6 +2,11 @@
set -ev
# RVM overrides the cd, popd, and pushd shell commands, causing the
# "shell_session_update: command not found" error on macOS when executing those
# commands.
unset -f cd popd pushd
####################
# OS-specific setup
####################