Skip to content
Permalink
Browse files

Build in capture=no for integration task

  • Loading branch information...
bitprophet committed Jul 19, 2019
1 parent e9939d6 commit 502ce7baaae71caffd77a2eda9f42c652e272ab6
Showing with 21 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +20 −1 tasks.py
@@ -59,7 +59,7 @@ script:
# NOTE: this also runs as the sudo-capable user, even if it's not necessarily
# doing any sudo'ing itself - the sudo-capable user is also the ssh-able
# user...
- inv travis.sudo-run "inv integration --capture=no"
- inv travis.sudo-run "inv integration"
# Websites build OK? (Not on PyPy3, Sphinx is all "who the hell are you?" =/
- "if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then inv sites www.doctest docs.doctest; fi"
# Did we break setup.py?
@@ -4,7 +4,7 @@
from invocations import travis
from invocations.checks import blacken
from invocations.docs import docs, www, sites, watch_docs
from invocations.pytest import test, integration, coverage
from invocations.pytest import test, integration as integration_, coverage
from invocations.packaging import release
from invocations.util import tmpdir

@@ -57,6 +57,25 @@ def publish(
release.upload(c, directory, index, sign, dry_run)


# TODO: as usual, this just wants a good pattern for "that other task, with a
# tweaked default arg value"
@task
def integration(
c,
opts=None,
pty=True,
x=False,
k=None,
verbose=True,
color=True,
capture="no",
module=None,
):
return integration_(
c, opts, pty, x, k, verbose, color, capture, module,
)


# Better than nothing, since we haven't solved "pretend I have some other
# task's signature" yet...
publish.__doc__ = release.publish.__doc__

0 comments on commit 502ce7b

Please sign in to comment.
You can’t perform that action at this time.