diff options
author | Ian Cordasco <sigmavirus24@users.noreply.github.com> | 2017-01-25 07:23:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 07:23:59 -0600 |
commit | 860369c7e8178779fdc33fb74c2d12b2674c6762 (patch) | |
tree | 83e4333851f992838092ec73fa225c88321054ed /.travis.yml | |
parent | 10cefb702daf76e3916bdb924aaf0e593434f295 (diff) | |
parent | 5a14978a3f6c1c8867b396d31491aa9cf073433c (diff) | |
download | pep8-860369c7e8178779fdc33fb74c2d12b2674c6762.tar.gz |
Merge pull request #541 from sigmavirus24/use-tox-with-travis
Switch Travis to use tox
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml index ee069e8..3847bde 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,28 @@ language: python sudo: false -python: - - 2.6 - - 2.7 - - 3.2 - - 3.3 - - 3.4 - - 3.5 - - nightly - - pypy - - pypy3 install: - - pip install -e . - - pip list -script: - - python pycodestyle.py --testsuite testsuite - - python pycodestyle.py --statistics pycodestyle.py - - python pycodestyle.py --doctest - - python setup.py test + - pip install tox +script: tox +matrix: + include: + - python: 2.6 + env: TOXENV=py26 + - python: 2.7 + env: TOXENV=py27 + - python: 3.3 + env: TOXENV=py33 + - python: 3.4 + env: TOXENV=py34 + - python: 3.5 + env: TOXENV=py35 + - python: 3.6 + env: TOXENV=py36 + - python: nightly + env: TOXENV=py37 + - python: pypy + env: TOXENV=pypy + - python: 3.5 + env: TOXENV=flake8 notifications: email: |