vagrant/test/buildbot/buildbot_config/master/buildsteps.py

32 lines
699 B
Python
Raw Normal View History

"""
Contains various buildsteps that the build master uses.
"""
import os
2011-11-12 21:06:37 +00:00
from buildbot.steps.shell import ShellCommand
class Bundler(ShellCommand):
"""
Runs bundler to get the dependencies for a Ruby project.
"""
name = "bundler"
description = "bundle install"
descriptionDone = "bundler install complete"
command = ["bundle", "install"]
flunkOnFailure = True
haltOnFailure = True
class UnitTests(ShellCommand):
"""
Runs the unit tests via a rake command.
"""
name = "unit tests"
description = "unit tests"
descriptionDone = "passed unit tests"
command = ["rake", "test:unit"]
flunkOnFailure = True
haltOnFailure = True