This has been fixed in brew but not released yet. We need to un comment the line in install.sh for travis Here is the issue on brew https://github.com/pyenv/pyenv/pull/1328