mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-21 15:20:59 +00:00
58a10908ab
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.
22 lines
434 B
YAML
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
|