Skip to content

Commit

Permalink
Fix warnings build (carltongibson#829)
Browse files Browse the repository at this point in the history
* Use tox-venv for py3 builds

* Mark warnings build as an allowed failure
  • Loading branch information
Ryan P Kilby authored and carltongibson committed Nov 20, 2017
1 parent 55f7598 commit 92e5dce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ python:
cache: pip

install:
- pip install coverage detox tox-travis
- pip install coverage detox tox-travis tox-venv

script:
- coverage erase
Expand All @@ -21,6 +21,8 @@ matrix:
env: TOXENV=isort
- python: 3.6
env: TOXENV=warnings
allow_failures:
- env: TOXENV=warnings

after_success:
- coverage combine --append
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ deps = isort

[testenv:warnings]
ignore_outcome = True
unignore_outcomes = True
commands = python -Werror ./runtests.py {posargs}
deps =
{[latest]deps}
Expand Down

0 comments on commit 92e5dce

Please sign in to comment.