The environment variables set by Travis - Python



examples/python-environment-variables/.travis.yml
language: python
script: pytest -s

python:
  - "3.8"

examples/python-environment-variables/test_python.py
import os

for env in sorted(os.environ.keys()):
    print(f"{env:25} = {os.environ[env]}")



def test_anything():
    pass