瀏覽代碼

Merge pull request #4005 from ThomasWaldmann/vagrant-py37

vagrant: add py37 for testing
TW 6 年之前
父節點
當前提交
f7069f6c3b
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Vagrantfile

+ 3 - 2
Vagrantfile

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