install-pyenv.sh 583 B

12345678910111213
  1. #!/bin/sh
  2. # For managing all the local python installations for testing, use pyenv
  3. curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
  4. # To enable testing versions like 3.4.8 as 3.4 in tox, we need to alias
  5. # pyenv python versions
  6. git clone https://github.com/s1341/pyenv-alias.git $(pyenv root)/plugins/pyenv-alias
  7. # Python versions to test against
  8. VERSION_ALIAS="python2.7" pyenv install 2.7.14
  9. VERSION_ALIAS="python3.4" pyenv install 3.4.8
  10. VERSION_ALIAS="python3.5" pyenv install 3.5.5
  11. VERSION_ALIAS="python3.6" pyenv install 3.6.4