[TIP] [tox] multiple overlapping axis with Jenkins

Chris Withers chris at simplistix.co.uk
Tue Jan 3 08:59:32 PST 2012

On 25/12/2011 14:46, holger krekel wrote:
>> 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.

I don't follow how Jenkins would combine TOXENV1 and TOXENV2 (as above) 
into a TOXENV variable that tox would use?


Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk

More information about the testing-in-python mailing list