[TIP] [tox] how to test svn trunk / git master for required libraries?

Maru Newby mnewby at internap.com
Tue Mar 6 11:51:14 PST 2012


Hi Chris,

Here is a sample tox.ini with both the latest release and svn trunk builds executing by default:

>>>>>>>
[tox]
envlist = py26,trunk

[testenv]
deps =
  xlrd
  xlwt
commands = nosetests
 
[testenv:trunk]
deps =
  svn+[xlrd url]#egg=xlrd
  svn+[xlwt url]#egg=xlwt

<<<<<<<<

Does this help?

Cheers,


Maru

On 2012-03-05, at 10:43 PM, Chris Withers wrote:

> Hi All,
> 
> I'm looking to set up Tox-based testing for xlutils. This is a library that relies on both xlrd and xlwt. So, on my test grid, I want to test xlutils master against both the latest releases and the svn trunks of xlrd and xlwt.
> 
> What's the best way of setting up that dependency requirement in a tox.ini?
> 
> cheers,
> 
> 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