Update setuptools in Travis to can run tests with Python 3.9
language: python
# Ubuntu 22.04 Jammy Jellyfish (has a default Python 3.10, suported 3.7 - 3.10)
dist: jammy
-if: branch = main
+if: branch in (main, travis)
env:
global:
- secure: "Z6wS6a/YcyT8w5l+2HfMItbn2mbv+f1W43WixoqB4QkgiocjBWvmAQD6PN1sEgWVmZlRvWCABK8FcGG+Y6RPFeNdCE0U1h9hEgOiAnhUpWWH/AhOYDZ0PnFwA3/iRrHS2VFPmhdkjw1BUEfqXaJfDYtlZLgpMMfRvEjIJ8Uqq6M="
@@ -25,6 +25,11 @@ jobs:
- python3.8 -V
- python3.10 -V
env: TOXENV=docs_style,typing,dj41-py310,dj40-py310,dj30-py38,dj32-py38
+ - python: 3.9
+ before_install:
+ - python3.9 -V
+ - pip3.9 install -U setuptools
+ env: TOXENV=dj32-py39
- python: 3.7
before_install:
- python3.7 -V
