`pyenv global 3.8.0` does not change the python version on mac os

Add eval "$(pyenv init -)" (note the quotes) to your script to add Pyenv shims directory to PATH.


You likely want to add /Users/travis/.pyenv/versions to cache and do pyenv install -s to avoid building Python from source anew every time.