Files
pipenv/.travis.yml
T
Ed Morley 58a10908ab Add flake8 to the Travis run
flake8 would have caught the regression in #371 and output:
`pipenv/cli.py:257:19: F821 undefined name 'hashed_deps_path'`

Whilst in an ideal world there would be 100% test coverage, linters help
fill in the gaps, plus spot potential unused variable/imports cleanup.

I'm happy to disable more of the style/whitespace pep8 rules if
needed - the priority is having the pyflakes subset run in CI.
2017-05-25 20:40:33 +01:00

22 lines
434 B
YAML

language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
# - "pypy"
# - "pypy3" # TODO: pkg_config issues
# command to install dependencies
install:
- "python setup.py develop"
- "pipenv install --dev"
# command to run tests
script:
# flake8 has dropped support for Python 2.6.
- if [[ "$TRAVIS_PYTHON_VERSION" != "2.6" ]]; then pipenv run flake8; fi
- pipenv run pytest tests