HomePhorge

(maint) Add Travis CI support to active branches
0350afd5c64eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(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

Details

Provenance
Jeff McCune <jeff@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU08e45ed1425b: Merge pull request #1340 from haus/maint/2.7.
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff McCune <jeff@puppetlabs.com> committed rPU0350afd5c64e: (maint) Add Travis CI support to active branches (authored by Jeff McCune <jeff@puppetlabs.com>).Jan 7 2013, 1:13 AM