Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
oops, I missed a previous commit? add ZTK 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Groszer committed May 19, 2011
1 parent 2bde3a3 commit 9964e53
Showing 1 changed file with 86 additions and 3 deletions.
89 changes: 86 additions & 3 deletions master.cfg
Expand Up @@ -479,6 +479,7 @@ def setupZTK_dev_tests(slow_lock, hour=02, minute=01):
# ZTK 1.0 tests

ZTK_10_PLATFORMS = PLATFORMS.copy()
del ZTK_10_PLATFORMS['py_244_win32']
del ZTK_10_PLATFORMS['py_270_win32']
del ZTK_10_PLATFORMS['py_270_win64']

Expand Down Expand Up @@ -557,6 +558,87 @@ def setupZTK_10_tests(slow_lock, hour=02, minute=10):
# ZTK 1.0 tests
######################################

######################################
# ZTK 1.1 tests

ZTK_11_PLATFORMS = PLATFORMS.copy()
del ZTK_11_PLATFORMS['py_244_win32']

def ztk_11_builder(name, slavename, platform, locks):
builddir = name.replace(' ', '_')
f = factory.BuildFactory()
f.addStep(SVN(
svnurl="svn://svn.zope.org/repos/main/zopetoolkit/branches/1.1",
haltOnFailure=True,
mode="copy"))

lc = LastChange()
lc.url_template = 'http://zope3.pov.lt/trac/log/zopetoolkit?rev=%s'
f.addStep(lc)

f.addStep(SVNInfo())

#f.addStep(shell.ShellCommand(
# command=["/usr/bin/virtualenv", "--distribute", "-p", python, "--no-site-packages", "sandbox"],
# haltOnFailure=True,
# name="virtualenv",
# description="virtualenv"))
f.addStep(shell.ShellCommand(
command=[platform.python, "bootstrap.py"],
haltOnFailure=True,
name="bootstrap",
description="bootstrap"))
f.addStep(shell.ShellCommand(
command=r"bin\buildout.exe",
haltOnFailure=True,
name="buildout",
description="buildout",
timeout=3600))
f.addStep(Test(
command=[r"bin\test-ztk.exe", "--exit-with-status", "-1"],
haltOnFailure=False,
name="test ztk",
description="test ztk trunks",
timeout=3600))
f.addStep(Test(
command=[r"bin\test-zopeapp.exe", "--exit-with-status", "-1"],
haltOnFailure=False,
name="test zopeapp trunks",
description="test zopeapp",
timeout=3600))
return dict(name=name,
slavename=slavename,
builddir=builddir,
factory=f,
locks=locks)

def setupZTK_11_tests(slow_lock, hour=02, minute=10):
#hour = 02
#minute = 10
builders = []
for pname in sorted(ZTK_11_PLATFORMS.keys()):
platform = ZTK_11_PLATFORMS[pname]
name = "ztk_11 %s" % platform.name
builders.append(name)
c['builders'].append(
ztk_11_builder(name, 'local', platform, [slow_lock]))

c['schedulers'].append(
Nightly( "%s_nightly" % name, [name], hour=hour, minute=minute))
minute += 1

c['status'].append(
MailNotifier(mode="all",
fromaddr=FROMADDR,
extraRecipients=["zope-tests@zope.org"],
sendToInterestedUsers=False,
builders=builders,
messageFormatter=message_formatter)
)

# ZTK 1.1 tests
######################################

######################################
# zc.buildout

Expand Down Expand Up @@ -1032,9 +1114,10 @@ setupEggBuild(slow_lock) #every 30 mins
#the builds nicely sorted
setupZTK_dev_tests(slow_lock, hour=20, minute=10)
setupZTK_10_tests(slow_lock, hour=20, minute=20)
setup_zc_buildout_dev_tests(slow_lock, hour=20, minute=30)
setup_ZODB_dev_tests(slow_lock, hour=20, minute=40)
setup_BB_dev_tests(slow_lock, hour=20, minute=50)
setupZTK_11_tests(slow_lock, hour=20, minute=30)
setup_zc_buildout_dev_tests(slow_lock, hour=20, minute=40)
setup_ZODB_dev_tests(slow_lock, hour=20, minute=50)
setup_BB_dev_tests(slow_lock, hour=20, minute=55)

bsquare_configure(c,
'svn://svn.zope.org/repos/main/',
Expand Down

0 comments on commit 9964e53

Please sign in to comment.