Skip to content

Commit

Permalink
ci: fix commit check on branches
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed May 8, 2017
1 parent 8bf040b commit 5905e9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/test-commit-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ logger

// Note: This is based on the gulp task found in the angular/angular repository
execSync('git fetch origin');
// Travis doesn't have master when running jobs on other branches (minor/patch/etc).
execSync('git fetch origin master:master');


const output = execSync('git log master.. --reverse --format="%H %s" --no-merges', {
Expand Down

0 comments on commit 5905e9a

Please sign in to comment.