mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-22 14:11:27 +00:00
Merge pull request #4005 from ThomasWaldmann/vagrant-py37
vagrant: add py37 for testing
This commit is contained in:
commit
f7069f6c3b
1 changed files with 3 additions and 2 deletions
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
@ -109,6 +109,7 @@ end
|
||||||
def install_pythons(boxname)
|
def install_pythons(boxname)
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
. ~/.bash_profile
|
. ~/.bash_profile
|
||||||
|
pyenv install 3.7.0 # tests
|
||||||
pyenv install 3.6.0 # tests
|
pyenv install 3.6.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
|
||||||
|
@ -189,8 +190,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
|
pyenv global 3.6.0 3.7.0
|
||||||
pyenv local 3.6.0
|
pyenv local 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
|
||||||
|
|
Loading…
Reference in a new issue