# Config file for automatic testing at travis-ci.org language: python matrix: include: - python: 3.9 env: TOX_ENV=py39 - python: 3.8 env: TOX_ENV=py38 - python: 3.7 env: TOX_ENV=py37 - python: 3.6 env: TOX_ENV=py36 - python: pypy3 env: TOX_ENV=pypy3 - python: 3.9 env: TOX_ENV=flake8 # Use tox to run tests on Travis-CI to keep one unified method of running tests in any environment install: - pip install coverage coveralls tox # Command to run tests, e.g. python setup.py test script: tox -e $TOX_ENV # Use after_success to get a single coveralls report after_success: - coverage run --source=pipreqs setup.py test - coveralls