7 A simple tool to automate reporting of build and test results.
9 ### Currently supported rulesets:
11 * ***source:*** git, svn, cvs
12 * ***build:*** php, pecl, gnu, composer
13 * ***report:*** mail, notify-send, twilio, irc
17 Usage: btr [-hyvqcC] [<options>]
19 -h, --help Display this help
20 -y, --yes Always assume yes
21 -v, --verbose Be more verbose
22 -q, --quiet Be more quiet
23 -c, --clean Clean build
24 -C, --vcsclean Clean repo/branch
27 -f, --config=<file> Read configuration from a file
28 -s, --source=<rules> Use the specified source ruleset
29 -b, --build=<rules> Use the specified build ruleset
30 -r, --report=<rules> Use the specifued report ruleset
31 -T, --test=<args> Provide test runner arguments
32 -B, --branch=<branch> Checkout this branch
33 -D, --directory=<directory> Use this directory as work root
34 -S, --suffix=<suffix> Append suffix to the build name
37 type=argument e.g: git=git@github.com:m6w6/btr.git
38 irc=irc://btr@chat.freenode.org/#btr
39 mail="-c copy@to rcpt@to"
42 Note though, that some rules do not use any argument.
46 build: composer gnu pecl php
47 report: irc mail notify-send twilio
51 Clone PHP's git, use PHP-5.5 branch, build with php ruleset and
52 run the test suite with valgrind (-m) on a debug build and report
53 the results with a simple OSD notification:
54 $ btr -s git=git@php.net:php/php-src.git -B PHP-5.5 \
55 -b "php=--enable-debug" -T-m -r notify-send
56 See also php.example.conf
58 Clone CURL's git (use master), build with GNU autotools
59 ruleset which runs 'make check' and mail the report to the
60 current user. Verbosely show all actions taken:
61 $ btr -v -s git=https://github.com/bagder/curl.git -b gnu -r mail
62 See also curl.example.conf