1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#!/usr/bin/env perl
use v5.10;
use strict;
use warnings;
use utf8;
use open qw/:std :utf8/;
# Get helpers
use FindBin qw($Bin);
use lib "$Bin/../lib";
use EvergreenConfig;
sub main {
my @tasks = (
pre(qw/dynamicVars cleanUp fetchSource downloadPerl5Lib/),
post(qw/cleanUp/),
task( build => [qw/whichPerl buildModule uploadBuildArtifacts/] ),
task(
test => [qw/whichPerl downloadBuildArtifacts testModule/],
depends_on => 'build'
),
);
print assemble_yaml(
timeout(600),
buildvariants( \@tasks ),
);
return 0;
}
# execution
exit main();
|