This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import distutils.core | |
from distutils.extension import Extension | |
from Cython.Distutils import build_ext # @UnresolvedImport | |
import os | |
import shutil | |
import sys | |
project_pkg_path = "DESTINATION PATH" | |
project_python_path = "PATH TO YOUR PYTHON PROJ" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from buildbot.changes import pb | |
c['change_source'] = pb.PBChangeSource() | |
for branch, builder in {'master':'release-builder', 'develop':'develop-builder'}.iteritems(): | |
c['schedulers'].append(SingleBranchScheduler( | |
name="Continuous-%s" % branch, | |
branch=branch, | |
treeStableTimer=1*60, | |
builderNames=[builder])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from buildbot.steps.shell import ShellCommand | |
from buildbot.process.properties import WithProperties | |
import stat | |
import StringIO | |
import re | |
class NoseTest(ShellCommand): | |
report_path = '/var/www/testreport/%s.html' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class StopServer(ShellCommand): | |
def _init_(self): | |
ShellCommand.__init__(self, command=['pkill', '-f', 'my-server-name'], | |
workdir='build/python', | |
description='Stopping test server') | |
def createSummary(self, log): | |
buildername = self.getProperty("buildername") | |
f = '/home/buildbot/slave/%s/build/python/nohup.out' % buildername | |
output = open(f, "r").read() |