[TIP] [tox] multiple overlapping axis with Jenkins

holger krekel holger at merlinux.eu
Sun Dec 25 06:46:35 PST 2011


Hi Chris,

On Sat, Dec 24, 2011 at 22:51 +0000, Chris Withers wrote:
> Something that tox doesn't support but which I really want is the
> ability to mix together multiple axis when doing a
> multi-configuration job in Jenkins.
> 
> So, the axis I generally want are:
> 
> - python version
> - operating system
> - optional extra libraries
> 
> Tox can handle the first two, but, say where I have a library that
> supports multiple database backends, I want to do:
> 
> TOXENV1=py25 py26 py27
> TOXENV2=mysql postgres oracle

> I want Jenkins to do the grid of the above, not to have to manually
> come up with TOXENV values of py25_mysql, py25_postgres,
> py25_oracle, etc.
> 
> Any plans to support this?

Not sure i fully understand.  Can you not have a varying "TOXENV2" variable
from Jenkins and use this from your testenv's?  This way Jenkins would
do the combinations IIUC.

holger

> Chris
> 
> -- 
> Simplistix - Content Management, Batch Processing & Python Consulting
>             - http://www.simplistix.co.uk
> 
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
> 



More information about the testing-in-python mailing list