浏览代码

Vagrantfile: add python 3.5.0 for testing

Thomas Waldmann 6 年之前
父节点
当前提交
042dfa0c73
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Vagrantfile

+ 3 - 2
Vagrantfile

@@ -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 local 3.6.0 3.7.0
+      pyenv global 3.5.0 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