language: python sudo: false python: - "2.7" - "3.5" - "3.6" # Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs matrix: include: - python: 3.7 dist: xenial sudo: true before_install: - pip install -U pip install: - python setup.py install - pip install -r requirements_dev.txt - git diff --name-only $TRAVIS_COMMIT_RANGE | xargs pre-commit run --files script: - tox