brewbuild.conf - Optional configuration file for the Test::BrewBuild build system.
Test::BrewBuild
By default, an example brewbuild.conf-dist configuration file is copied into ~/brewbuild directory upon installation.
brewbuild.conf-dist
~/brewbuild
To use a configuration file, copy the brewbuild.conf-dist file to brewbuild.conf within the same directory, and edit it accordingly.
brewbuild.conf
Command line arguments will override whatever configuration you have in the config file.
Configuration for the core brewbuild script.
This is the timeout to use for the instance_install() method. It defaults to 600 seconds. If an install takes longer than the time set in timeout, it'll roll out the changes and log an error, then proceed.
instance_install()
timeout
Set to 1 to remove all instances of perl on every run. Defaults to 0.
Overrides the default plugin Test::BrewBuild::Plugin::DefaultExec that is the actual command set that performs the testing routines.
Default off, set to 1 to enable saving of all PASS logs along with the FAIL ones.
Default is 0. Range is 0-7.
Default off. Perls 5.8.x and lower will be installed if you set this to 1.
Default is off (0). Send in a true value to disable the caching of Perl/Berrybrew available/list information.
Default is off (0). Send in a true value to run reverse dependency tests on the current distribution being tested.
Configuration for the dispatcher, bbdispatch.
A comma delimited list of test servers to dispatch to. Example:
testers = 127.0.0.1, 10.5.5.5:9999
The repo to default to. If not specified here or at the command-line, we'll default to looking for a repository in your current working directory. Example:
repo = https://github.com/stevieb9/p5-test-brewbuild
The brewbuild command string you want to use as default. Example:
brewbuild
cmd = brewbuild -r -R -d 7
Default is 4. Send in a positive integer to run that many parallel dispatch processes.
When using an auto dispatch run (eg: bbdispatch --auto), the integer value of this directive specifies how many seconds to sleep in between each build run sent to the testers.
bbdispatch --auto
Default is off (0). Set to a true value to enable RPi-specific testing. (ie. You're running on a Pi and have an LCD connected for test statistics).
Defaults to 4. Only other valid number of rows is 2.
Defaults to 20. Only other valid number of columns is 16.
Defaults to off (0). Set to any number 0-7 to enable that level of debugging output.
Configuration for the tester bbtester test runner daemon.
Specify the IP address you want your tester to listen on. Example:
ip = 127.0.0.1
Which port should your tester listen on? Example:
port = 9999
Defaults to undefined. Send in the name of a writable file location and we'll output our debug data to this file.
Defaults to undefined. Send in a true value to have the Tester run in automated Continuous Integration mode.
Defaults to undefined. This is used in conjunction with auto.
auto
If set to a true value, we'll run in CI mode even if no new commits have been made to the repository.
Defaults to off (0). Set to 0-7 to enable that level of debug output.
To install Test::BrewBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BrewBuild
CPAN shell
perl -MCPAN -e shell install Test::BrewBuild
For more information on module installation, please visit the detailed CPAN module installation guide.