[TIP] using tox as library in a python tool (get all toxenv and basepython)

Florian Bruhin me at the-compiler.org
Mon Nov 7 06:59:07 PST 2016


Hey Fabio,

* Fabio C. Barrionuevo da Luz <bnafta at gmail.com> [2016-11-07 11:04:13 -0300]:
> hello, is there any way, via python code, to get all tox envs and their
> respective basepython ?

Probably by writing a tox plugin which does that:
http://tox.readthedocs.io/en/latest/plugins.html

> I'm doing some experiments to create a helper tool to automatically
> generate test matrix from tox test matrix to travis-ci test matrix.

That sounds a lot like tox-travis:
https://pypi.python.org/pypi/tox-travis

(Though I have no idea how it works, and I don't use it yet)

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20161107/25e50a57/attachment.pgp>


More information about the testing-in-python mailing list