version: '{branch}.{build}' environment: matrix: - TOXENV: lint PYTHON: "C:\\Python38-x64" - TOXENV: docs-lint PYTHON: "C:\\Python38-x64" - TOXENV: pycodestyle PYTHON: "C:\\Python38-x64" # Windows cannot even import the module when they unconditionally import, see below. #- TOXENV: run-module # PYTHON: "C:\\Python38-x64" #- TOXENV: run-entrypoint # PYTHON: "C:\\Python38-x64" # Windows is not ready for testing!!! # Python's fcntl, grp, pwd, os.geteuid(), and socket.AF_UNIX are all Unix-only. #- TOXENV: py35 # PYTHON: "C:\\Python35-x64" #- TOXENV: py36 # PYTHON: "C:\\Python36-x64" #- TOXENV: py37 # PYTHON: "C:\\Python37-x64" #- TOXENV: py38 # PYTHON: "C:\\Python38-x64" #- TOXENV: py39 # PYTHON: "C:\\Python39-x64" #- TOXENV: py310 # PYTHON: "C:\\Python310-x64" #- TOXENV: py311 # PYTHON: "C:\\Python311-x64" #- TOXENV: py312 # PYTHON: "C:\\Python312-x64" matrix: allow_failures: - TOXENV: py35 - TOXENV: py36 - TOXENV: py37 - TOXENV: py38 - TOXENV: py39 init: - SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" install: - pip install tox build: false test_script: - tox cache: # Not including the .tox directory since it takes longer to download/extract # the cache archive than for tox to clean install from the pip cache. - '%LOCALAPPDATA%\pip\Cache -> tox.ini' notifications: - provider: Email on_build_success: false on_build_status_changed: false