Set environment variables for Python
examples/python-set-environment-variables/.travis.yml
language: python script: pytest -s python: - "3.7" env: DATABASE=postgresql
examples/python-set-environment-variables/test_python.py
import os print(f"DATABASE = {os.environ['DATABASE']}") def test_anything(): pass