puppetlabs/puppet — pull request #1374 by jeffmccune (2013-01-07 00:38:49+00:00)
Title: (maint) Add Travis CI support to active branches

Without this patch all active branches do not have proper Travis
configuration files. This is a problem because Travis will exercise any
branch pushed to the puppetlabs organization repository on Github. The
default behavior is to email notifications which is undesirable.

To address this problem Travis configuration settings are added to an
active branch.

Active branches are those that have recent activity when compared
against the following command:

for k in `git branch -r |grep origin/|perl -pe s/^..//`
do
echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k|head -n 1`\\t$k;
done | sort -r | grep origin

Which should produce output like:

2013-01-06 02:10:28 -0800 14 hours ago origin/master
2013-01-02 16:59:15 -0800 4 days ago origin/3.0.x
2012-12-18 10:36:18 -0800 3 weeks ago origin/2.7.x
2012-07-09 15:34:04 -0700 6 months ago origin/2.6.x
2011-11-03 15:02:03 -0700 1 year, 2 months ago origin/0.24.x
2011-10-21 23:15:37 -0700 1 year, 3 months ago origin/0.25.x