1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 16:55:36 +00:00

Vagrantfile: add python 3.5.0 for testing

This commit is contained in:
Thomas Waldmann 2018-12-15 21:37:43 +01:00
parent ca6a7d1500
commit 042dfa0c73

5
Vagrantfile vendored
View file

@ -111,6 +111,7 @@ def install_pythons(boxname)
. ~/.bash_profile . ~/.bash_profile
pyenv install 3.7.0 # tests pyenv install 3.7.0 # tests
pyenv install 3.6.0 # tests pyenv install 3.6.0 # tests
pyenv install 3.5.0 # tests
pyenv install 3.6.6 # binary build, use latest 3.6.x release pyenv install 3.6.6 # binary build, use latest 3.6.x release
pyenv rehash pyenv rehash
EOF EOF
@ -190,8 +191,8 @@ def run_tests(boxname)
. ../borg-env/bin/activate . ../borg-env/bin/activate
if which pyenv 2> /dev/null; then if which pyenv 2> /dev/null; then
# for testing, use the earliest point releases of the supported python versions: # for testing, use the earliest point releases of the supported python versions:
pyenv global 3.6.0 3.7.0 pyenv global 3.5.0 3.6.0 3.7.0
pyenv local 3.6.0 3.7.0 pyenv local 3.5.0 3.6.0 3.7.0
fi fi
# otherwise: just use the system python # otherwise: just use the system python
if which fakeroot 2> /dev/null; then if which fakeroot 2> /dev/null; then