forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(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
- Loading branch information
Jeff McCune
committed
Jan 7, 2013
1 parent
08e45ed
commit 0350afd
Showing
5 changed files
with
46 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: ruby | ||
bundler_args: --without development | ||
script: "bundle exec rake spec SPEC_OPTS='--color --format documentation'" | ||
notifications: | ||
email: false | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.3 | ||
matrix: | ||
allow_failures: | ||
- rvm: 1.9.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters