view autobot/projects/project.template @ 244:714a7a7f4ea7

figure out this timestamp nonsense
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 22 Dec 2011 15:39:00 -0800
parents cb9ad0b04140
children 76ef1a33e345
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, hg=None, git=None):
        SourceFactory.__init__(self, platform=platform)

        # checkout the repositories
        self.checkout()

        # run the tests [TODO]