Mercurial > hg > autobot
annotate autobot/projects/mozmill/__init__.py @ 142:260cebcbb309
move towards the new way of noting sources
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 24 Jan 2011 13:10:01 -0800 |
parents | b41d58e93b2d |
children | 2a90789e2ba3 |
rev | line source |
---|---|
89
9b0ebf306b3c
autobot/template/master/master.cfg
Jeff Hammel <jhammel@mozilla.com>
parents:
83
diff
changeset
|
1 from autobot.process.factory import VirtualenvFactory |
95 | 2 from buildbot.steps.shell import ShellCommand |
3 from buildbot.steps.shell import WithProperties | |
27 | 4 |
89
9b0ebf306b3c
autobot/template/master/master.cfg
Jeff Hammel <jhammel@mozilla.com>
parents:
83
diff
changeset
|
5 class TestMozmillFactory(VirtualenvFactory): |
27 | 6 """ |
7 factory to test Mozmill | |
8 http://github.com/mozautomation/mozmill | |
9 """ | |
142
260cebcbb309
move towards the new way of noting sources
Jeff Hammel <jhammel@mozilla.com>
parents:
97
diff
changeset
|
10 |
260cebcbb309
move towards the new way of noting sources
Jeff Hammel <jhammel@mozilla.com>
parents:
97
diff
changeset
|
11 sources = {'git': ['http://github.com/mozautomation/mozmill']} |
97 | 12 |
94
e806a9c1dc4f
set the firefox_url to None until we have something to do with it
Jeff Hammel <jhammel@mozilla.com>
parents:
93
diff
changeset
|
13 def __init__(self, firefox_url=None): |
27 | 14 |
15 # setup the environment | |
142
260cebcbb309
move towards the new way of noting sources
Jeff Hammel <jhammel@mozilla.com>
parents:
97
diff
changeset
|
16 VirtualenvFactory.__init__(self, name='mozmill') |
95 | 17 self.addStep(ShellCommand(command=['bash', 'setup_development.sh'], |
18 workdir=WithProperties('%(virtualenv)s/src/mozmill'))) | |
27 | 19 |
34
206467b6f61f
* cleanup a bit in projects and start featuring autodiscovery
Jeff Hammel <jhammel@mozilla.com>
parents:
27
diff
changeset
|
20 # get firefox |
83 | 21 # [TODO] |
34
206467b6f61f
* cleanup a bit in projects and start featuring autodiscovery
Jeff Hammel <jhammel@mozilla.com>
parents:
27
diff
changeset
|
22 |
27 | 23 # run the tests |