travis: macOS: test on py35 and py37, linux: test on py37

macOS: to cover some rather old and some rather new python
(not 3.8 though, but 3.8.0 is tested on linux).

linux: to test on 3.7 releases also. stop testing 3.6-dev.
This commit is contained in:
Thomas Waldmann 2019-11-26 18:53:09 +01:00
parent a029d686b5
commit eb326cbac0
2 changed files with 7 additions and 7 deletions

View File

@ -18,10 +18,10 @@ matrix:
os: linux
dist: xenial
env: TOXENV=py37
- python: "3.6-dev"
- python: 3.8
os: linux
dist: trusty
env: TOXENV=py36
dist: xenial
env: TOXENV=py38
- python: "3.7-dev"
os: linux
dist: xenial
@ -41,7 +41,7 @@ matrix:
- language: generic
os: osx
osx_image: xcode8.3
env: TOXENV=py36
env: TOXENV=py37
before_install:
- |

View File

@ -32,9 +32,9 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
pyenv install 3.5.3 # minimum for openssl 1.1.x
pyenv global 3.5.3
;;
py36)
pyenv install 3.6.7 # minimum for homebrew to select openssl 1.1.x
pyenv global 3.6.7
py37)
pyenv install 3.7.0
pyenv global 3.7.0
;;
esac
pyenv rehash