diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2017-03-03 00:43:09 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2017-03-03 00:43:09 +0200 |
commit | 4e40786fc5cab5f662cb522562ae7e34f8d84c4d (patch) | |
tree | 5f3de1dffc319366fc9af31e9e652eddadd9c82a | |
parent | 8d5ac37a4328bfe503c070ed2033cad41303f50a (diff) | |
download | cherrypy-git-4e40786fc5cab5f662cb522562ae7e34f8d84c4d.tar.gz |
Allow failures only for flake8 and pep257 checks
-rw-r--r-- | .travis.yml | 7 | ||||
-rw-r--r-- | tox.ini | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 0c3ccc7f..afd56fd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,11 +18,16 @@ matrix: - python: pypy # TODO: fix tests - python: pypy3 - - env: TOXENV=pre-commit + - env: TOXENV=pre-commit-pep257 + - env: TOXENV=pre-commit-flake8 include: - python: 3.6 env: TOXENV=pre-commit - python: 3.6 + env: TOXENV=pre-commit-pep257 + - python: 3.6 + env: TOXENV=pre-commit-flake8 + - python: 3.6 env: TOXENV=dist-check cache: pip @@ -14,8 +14,18 @@ extras = [testenv:pre-commit] deps = pre-commit +setenv = + SKIP=pep257,flake8 commands = pre-commit run --all-files {posargs} +[testenv:pre-commit-pep257] +deps = pre-commit +commands = pre-commit run --all-files pep257 {posargs} + +[testenv:pre-commit-flake8] +deps = pre-commit +commands = pre-commit run --all-files flake8 {posargs} + [testenv:dist-check] # ensure that package artifacts are installed as expected usedevelop = False |