Skip to main content

Folds captured output sections in Travis CI build log

Project description

Pytest plugin that folds captured output sections in Travis CI build log.

Travis CI build log view

Installation and Usage

Just install the pytest-travis-fold package as part of your build.

When using tox, add the package to the deps list in your tox.ini:

deps =

If you don’t use tox and invoke py.test directly from .travis.yml, you may install the package as an additional install step:

  - pip install -e .
  - pip install pytest-travis-fold

script: py.test

Output folding is enabled automatically when running inside Travis CI. It is OK to have the plugin installed also in your dev environment: it is only activated by checking the presence of the TRAVIS environmental variable, unless the --travis-fold command line switch is used.


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, “pytest-travis-fold” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-travis-fold-1.0.1.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

pytest_travis_fold-1.0.1-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page