Files
rfd/.travis.yml
Dave Gallant 53666c643f add pre-commit and enforce on travis (#37)
* add pre-commit and enforce on travis
2019-10-14 22:18:01 -04:00

21 lines
431 B
YAML

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