Hi again,
I've just discovered that installing a package through .travis.yml while
using tox doesn't work as expected since tox creates a fresh venv each time.
I updated setup howto in the README and released v1.0.1. Duplicating
installation steps here to avoid the confusion:
When using tox, add the package to the 'deps' list in your tox.ini:
[testenv]
deps =
pytest-travis-fold
If you **don't** use tox and invoke py.test directly from .travis.yml,
you may install the package as an additional 'install' step::
install:
- pip install -e .
- pip install pytest-travis-fold
script: py.test
Sorry for spamming the mailing list.
On Fri, Oct 16, 2015 at 4:05 PM, Eldar Abusalimov <
[email protected]> wrote:
> Hi,
>
> I'm pleased to announce a new pytest-travis-fold plugin that provides
> better look and feel when using Travis CI. Once installed it makes captured
> stdout / stderr sections of failing tests appear folded in the Travis CI
> build log view.
>
>
> To enable it, add this install step to .travis.yml:
>
> install:
> - pip install pytest-travis-fold
>
> You may install it either through .travis.yml, tox.ini, setup.py
> requirements, ... - whatever you find appropriate. In any case it won't
> interfere with your dev environment; it is only activated when it detects
> the Travis CI environment, or by using the --travis-fold command line
> switch (in general, you won't need it though).
>
>
> GitHub: https://github.com/abusalimov/pytest-travis-fold
> PyPI: https://pypi.python.org/pypi/pytest-travis-fold
>
>
> I'd be happy to get your feedback!
>
>
> --
> Best regards,
> Eldar Sh. Abusalimov
>
--
Regards,
Eldar
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev