mirror of https://github.com/wting/autojump
parent
3465bb1f84
commit
969fb4e6ed
@ -1,14 +1,17 @@
|
|||||||
language: python
|
language: python
|
||||||
|
|
||||||
python:
|
python: 2.7
|
||||||
- 2.6
|
|
||||||
- 2.7
|
env:
|
||||||
- 3.2
|
- TOX_ENV=py26
|
||||||
- 3.3
|
- TOX_ENV=py27
|
||||||
- 3.4
|
- TOX_ENV=py32
|
||||||
|
- TOX_ENV=py33
|
||||||
|
- TOX_ENV=py34
|
||||||
|
- TOX_ENV=flake8
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install --use-mirrors pytest
|
- pip install tox
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make test
|
- tox -e $TOX_ENV
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
flake8>=2.0.0
|
flake8
|
||||||
mock
|
mock
|
||||||
pytest
|
pytest
|
||||||
|
tox
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
[flake8]
|
|
||||||
filename = *.py,autojump
|
|
||||||
ignore = E126,E128
|
|
||||||
max-line-length = 79
|
|
||||||
max-complexity = 10
|
|
@ -0,0 +1,32 @@
|
|||||||
|
[tox]
|
||||||
|
envlist =
|
||||||
|
py26,
|
||||||
|
py27,
|
||||||
|
py32,
|
||||||
|
py33,
|
||||||
|
py34
|
||||||
|
# ignore missing setup.py
|
||||||
|
skipsdist = True
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
deps = -rdev-requirements.txt
|
||||||
|
commands = py.test -rsxX -q
|
||||||
|
|
||||||
|
[testenv:flake8]
|
||||||
|
deps = flake8
|
||||||
|
commands = flake8 .
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
filename =
|
||||||
|
*.py,
|
||||||
|
autojump
|
||||||
|
ignore =
|
||||||
|
E126,
|
||||||
|
E128
|
||||||
|
max-line-length = 79
|
||||||
|
max-complexity = 10
|
||||||
|
show-pep8 = True
|
||||||
|
|
||||||
|
[pytest]
|
||||||
|
addopts = -rsxX -q
|
||||||
|
norecursedirs = .git .tox docs
|
Loading…
Reference in new issue