[Checkins] SVN: Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg more packages to test

Adam Groszer agroszer at gmail.com
Tue Jun 29 08:08:10 EDT 2010


Log message for revision 113974:
  more packages to test

Changed:
  U   Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg

-=-
Modified: Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg
===================================================================
--- Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg	2010-06-29 11:59:47 UTC (rev 113973)
+++ Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg	2010-06-29 12:08:10 UTC (rev 113974)
@@ -262,20 +262,36 @@
             setattr(self, k, v)
 
 PLATFORMS = dict(
-    py_244_win32 = r'c:\Python24_32\python.exe',
-    py_254_win32 = r'c:\Python25_32\python.exe',
-    py_265_win32 = r'c:\Python26_32\python.exe',
-    py_265_win64 = r'c:\Python26_64\python.exe',
+    py_244_win32 = Platform(
+        name='py_244_win32',
+        title='Python 2.4.4 win32',
+        python=r'c:\Python24_32\python.exe',
+        buildout=r'bin\buildout.exe'),
+    py_254_win32 = Platform(
+        name='py_254_win32',
+        title='Python 2.5.4 win32',
+        python=r'c:\Python25_32\python.exe',
+        buildout=r'bin\buildout.exe'),
+    py_265_win32 = Platform(
+        name='py_265_win32',
+        title='Python 2.6.5 win32',
+        python=r'c:\Python26_32\python.exe',
+        buildout=r'bin\buildout.exe'),
+    py_265_win64 = Platform(
+        name='py_265_win64',
+        title='Python 2.6.5 win64',
+        python=r'c:\Python26_64\python.exe',
+        buildout=r'bin\buildout.exe'),
 )
 
 
 #these python's have the right settings to be able to compile binary eggs
 ZTK_DEV_PLATFORMS = dict(
-    py_244_win32 = Platform(
-        name='py_244_win32',
-        title='Python 2.4.4 win32',
-        python=r'c:\Python24_32\python.exe',
-        buildout=r'cmd /c c:\Python24_32\setupcompilerandexecute.bat bin\buildout.exe'),
+    #py_244_win32 = Platform(
+    #    name='py_244_win32',
+    #    title='Python 2.4.4 win32',
+    #    python=r'c:\Python24_32\python.exe',
+    #    buildout=r'cmd /c c:\Python24_32\setupcompilerandexecute.bat bin\buildout.exe'),
     py_254_win32 = Platform(
         name='py_254_win32',
         title='Python 2.5.4 win32',
@@ -297,7 +313,7 @@
 # ZTK tests
 
 def ztk_dev_builder(name, slavename, platform, locks):
-    builddir = name.replace(' ', '-')
+    builddir = name.replace(' ', '_')
     f = factory.BuildFactory()
     f.addStep(SVN(
               svnurl="svn://svn.zope.org/repos/main/zopetoolkit/trunk",
@@ -354,7 +370,7 @@
     hour = 02
     for pname in sorted(ZTK_DEV_PLATFORMS.keys()):
         platform = ZTK_DEV_PLATFORMS[pname]
-        name = "ztk_dev_%s" % platform.name
+        name = "ztk_dev %s" % platform.name
         c['builders'].append(
             ztk_dev_builder(name, 'local', platform, [slow_lock]))
 
@@ -364,6 +380,142 @@
 # ZTK tests
 ######################################
 
+######################################
+# zc.buildout
+
+def zc_buildout_dev_builder(name, slavename, platform, locks):
+    builddir = name.replace(' ', '_')
+    f = factory.BuildFactory()
+    f.addStep(SVN(
+              svnurl="svn://svn.zope.org/repos/main/zc.buildout/trunk",
+              haltOnFailure=True,
+              mode="copy"))
+
+    lc = LastChange()
+    lc.url_template = 'http://zope3.pov.lt/trac/log/zc.buildout?rev=%s'
+    f.addStep(lc)
+
+    #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, r"bootstrap\newbootstrap.py"],
+              haltOnFailure=True,
+              name="bootstrap",
+              description="bootstrap"))
+    f.addStep(shell.ShellCommand(
+              command="%s" % platform.buildout,
+              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 trunk"))
+    return dict(name=name,
+                slavename=slavename,
+                builddir=builddir,
+                factory=f,
+                locks=locks)
+
+def setup_zc_buildout_dev_tests(slow_lock):
+    hour = 03
+    for pname in sorted(PLATFORMS.keys()):
+        platform = PLATFORMS[pname]
+        name = "zc_buildout_dev %s" % platform.name
+        c['builders'].append(
+            zc_buildout_dev_builder(name, 'local', platform, [slow_lock]))
+
+        c['schedulers'].append(
+            Nightly( "%s_nightly" % name, [name], hour=hour))
+
+# zc.buildout
+######################################
+
+######################################
+# ZODB
+
+#these python's have the right settings to be able to compile binary eggs
+ZODB_DEV_PLATFORMS = dict(
+    #py_244_win32 = Platform(
+    #    name='py_244_win32',
+    #    title='Python 2.4.4 win32',
+    #    python=r'c:\Python24_32\python.exe',
+    #    buildout=r'cmd /c c:\Python24_32\setupcompilerandexecute.bat bin\buildout.exe'),
+    py_254_win32 = Platform(
+        name='py_254_win32',
+        title='Python 2.5.4 win32',
+        python=r'c:\Python25_32\python.exe',
+        buildout=r'cmd /c c:\Python25_32\setupcompilerandexecute.bat bin\buildout.exe'),
+    py_265_win32 = Platform(
+        name='py_265_win32',
+        title='Python 2.6.5 win32',
+        python=r'c:\Python26_32\python.exe',
+        buildout=r'cmd /c c:\Python26_32\setupcompilerandexecute.bat bin\buildout.exe'),
+    py_265_win64 = Platform(
+        name='py_265_win64',
+        title='Python 2.6.5 win64',
+        python=r'c:\Python26_64\python.exe',
+        buildout=r'cmd /c c:\Python26_64\setupcompilerandexecute.bat bin\buildout.exe'),
+)
+
+def ZODB_dev_builder(name, slavename, platform, locks):
+    builddir = name.replace(' ', '_')
+    f = factory.BuildFactory()
+    f.addStep(SVN(
+              svnurl="svn://svn.zope.org/repos/main/ZODB/trunk",
+              haltOnFailure=True,
+              mode="copy"))
+
+    lc = LastChange()
+    lc.url_template = 'http://zope3.pov.lt/trac/log/ZODB?rev=%s'
+    f.addStep(lc)
+
+    #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, r"c:\buildmaster\bootstrap.py"],
+              haltOnFailure=True,
+              name="bootstrap",
+              description="bootstrap"))
+    f.addStep(shell.ShellCommand(
+              command="%s" % platform.buildout,
+              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 trunk"))
+    return dict(name=name,
+                slavename=slavename,
+                builddir=builddir,
+                factory=f,
+                locks=locks)
+
+def setup_ZODB_dev_tests(slow_lock):
+    hour = 04
+    for pname in sorted(ZODB_DEV_PLATFORMS.keys()):
+        platform = ZODB_DEV_PLATFORMS[pname]
+        name = "ZODB_dev %s" % platform.name
+        c['builders'].append(
+            ZODB_dev_builder(name, 'local', platform, [slow_lock]))
+
+        c['schedulers'].append(
+            Nightly( "%s_nightly" % name, [name], hour=hour))
+
+# zc.buildout
+######################################
+
 #let's stick with ONE test
 slow_lock = locks.SlaveLock("cpu", maxCount=1)
 
@@ -372,6 +524,8 @@
 
 setupEggBuild(slow_lock)
 setupZTK_dev_tests(slow_lock)
+setup_zc_buildout_dev_tests(slow_lock)
+setup_ZODB_dev_tests(slow_lock)
 
 c['status'] = []
 



More information about the checkins mailing list