Mercurial > hg > autobot
view autobot/projects/project.template @ 289:754cda797873
update
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 15 Apr 2014 21:37:18 -0700 |
parents | 76ef1a33e345 |
children |
line wrap: on
line source
from autobot.process.factory import SourceFactory from buildbot.steps.shell import ShellCommand from buildbot.steps.shell import WithProperties class Test{{project.title()}}(SourceFactory): """ {{description}}: {{repo}} """ sources = {'hg': ['{{repo}}'], 'git': []} def __init__(self, platform=None, git=None, hg=None): SourceFactory.__init__(self, platform=platform, git=git, hg=hg) # checkout the repositories self.checkout() # run the tests [TODO]