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

Commit

Permalink
ZODB tests now run by appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
jimfulton committed Apr 9, 2017
1 parent b710774 commit 74cf5d7
Showing 1 changed file with 0 additions and 87 deletions.
87 changes: 0 additions & 87 deletions buildmaster/master.cfg
Expand Up @@ -804,93 +804,6 @@ def setup_BB_dev_tests(slow_lock, hour=02, minute=30):
# BlueBream
######################################


######################################
# ZODB

ZODB_DEV_PLATFORMS = {}
ZODB_DEV_PLATFORMS['py_270_win32'] = PLATFORMS['py_270_win32']
ZODB_DEV_PLATFORMS['py_270_win64'] = PLATFORMS['py_270_win64']
ZODB_DEV_PLATFORMS['py_330_win32'] = PLATFORMS_3['py_330_win32']
ZODB_DEV_PLATFORMS['py_330_win64'] = PLATFORMS_3['py_330_win64']
ZODB_DEV_PLATFORMS['py_340_win32'] = PLATFORMS_3['py_340_win32']
ZODB_DEV_PLATFORMS['py_340_win64'] = PLATFORMS_3['py_340_win64']


def ZODB_dev_builder_git(name, slavename, platform, locks):
branch = 'HEAD'
builddir = name.replace(' ', '_')
f = factory.BuildFactory()
f.addStep(Git(
repourl="git://github.com/zopefoundation/ZODB.git",
haltOnFailure=True,
mode="copy",
branch=branch))

lc = LastChangeGit()
#lc.url_template = 'http://zope3.pov.lt/trac/log/zc.buildout?rev=%s'
f.addStep(lc)

f.addStep(shell.ShellCommand(
command=[platform.python, r"c:\buildmaster\bootstrap.py"],
haltOnFailure=True,
name="bootstrap",
description="bootstrap"))
f.addStep(shell.ShellCommand(
command=[platform.withcompiler % r"bin\buildout.exe",
'parts=test'],
haltOnFailure=True,
name="buildout",
description="buildout",
timeout=3600))
f.addStep(Test(
command=[r"bin\test.exe", "--exit-with-status", "-1"],
haltOnFailure=False,
name="test",
description="test master"))
return dict(name=name,
slavename=slavename,
builddir=builddir,
factory=f,
locks=locks)


def setup_ZODB_dev_tests(slow_lock, hour=02, minute=40):
#hour = 02
#minute = 40
builders = []
for pname in sorted(ZODB_DEV_PLATFORMS.keys()):
platform = ZODB_DEV_PLATFORMS[pname]
name = "ZODB_dev %s" % platform.name
builders.append(name)
c['builders'].append(
ZODB_dev_builder_git(name, 'local', platform, [slow_lock]))

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

c['status'].append(
MailNotifier(mode="failing",
fromaddr=FROMADDR,
extraRecipients=["agroszer@gmail.com"],
sendToInterestedUsers=False,
builders=builders,
messageFormatter=message_formatter)
)

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

# ZODB
######################################

######################################
# mail status
from buildbot.status.html import WebStatus
Expand Down

0 comments on commit 74cf5d7

Please sign in to comment.