Skip to content

Commit

Permalink
Add flake8 testing to travis
Browse files Browse the repository at this point in the history
Follows cookiecutter update in pytest-dev/cookiecutter-pytest-plugin@b327eac

Signed-off-by: Mike Fiedler <[email protected]>
  • Loading branch information
miketheman committed Jun 6, 2017
1 parent 0b1543b commit 45df1ca
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@

sudo: false
language: python
python:
- "2.7"
- "pypy"

matrix:
include:
- python: 2.7
env: TOX_ENV=py27
- python: pypy
env: TOX_ENV=pypy
- python: 3.6
env: TOX_ENV=flake8

install:
- pip install tox
- "TOX_ENV=${TRAVIS_PYTHON_VERSION/[0-9].[0-9]/py${TRAVIS_PYTHON_VERSION/.}}"
script: tox -e $TOX_ENV

script:
- tox -e $TOX_ENV

before_cache:
- rm -rf $HOME/.cache/pip/log
Expand Down

0 comments on commit 45df1ca

Please sign in to comment.