mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Enable check suite in favor of travis-ci QA runs
This commit is contained in:
parent
f887ad5821
commit
b754256413
4 changed files with 6 additions and 18 deletions
2
.checks.yml
Normal file
2
.checks.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
- bandit
|
||||
- flake8
|
||||
|
|
@ -3,10 +3,6 @@ sudo: false
|
|||
cache: pip
|
||||
matrix:
|
||||
include:
|
||||
- env: TOXENV=flake8-py27
|
||||
python: 2.7
|
||||
- env: TOXENV=flake8-py36
|
||||
python: 3.6
|
||||
- env: TOXENV=readme-py27
|
||||
python: 2.7
|
||||
- env: TOXENV=py27-dj111-coverage
|
||||
|
|
|
|||
|
|
@ -7,3 +7,7 @@ branch = 1
|
|||
parallel = 1
|
||||
[coverage:report]
|
||||
include = configurations/*,tests/*
|
||||
|
||||
[flake8]
|
||||
exclude = .tox,docs/*
|
||||
ignore = E501,E127,E128,E124,W503
|
||||
|
|
|
|||
14
tox.ini
14
tox.ini
|
|
@ -4,8 +4,6 @@ usedevelop = true
|
|||
minversion = 1.8
|
||||
whitelist_externals = sphinx-build
|
||||
envlist =
|
||||
flake8-py27,
|
||||
flake8-py36,
|
||||
readme-py27,
|
||||
py{27,34,35,36,py}-dj{18,110,111}
|
||||
py{34,35,36,37}-dj20
|
||||
|
|
@ -38,15 +36,3 @@ commands =
|
|||
[testenv:readme-py27]
|
||||
commands = python setup.py check -r -s
|
||||
deps = readme_renderer
|
||||
|
||||
[testenv:flake8-py27]
|
||||
commands = flake8 configurations tests
|
||||
deps = flake8
|
||||
|
||||
[testenv:flake8-py36]
|
||||
commands = flake8 configurations tests
|
||||
deps = flake8
|
||||
|
||||
[flake8]
|
||||
exclude = .tox
|
||||
ignore = E501,E127,E128,E124,W503
|
||||
|
|
|
|||
Loading…
Reference in a new issue