Skip to content

Commit

Permalink
.coafile: Add commit section
Browse files Browse the repository at this point in the history
Closes coala#97
  • Loading branch information
saksham189 committed Jun 18, 2018
1 parent 5d97537 commit 2bacbf2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .coafile
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,8 @@ ignore += .coafile, *requirements.txt, .travis.yml, LICENSE, .moban.yaml, .moban
bears = KeywordBear
language = python 3
keywords = coala

[commit]
bears = GitCommitBear
shortlog_trailing_period = False
shortlog_regex = ([^:]*|[^:]+[^ ]: [A-Z0-9*].*)
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ before_install:
script:
- ./.ci/build.sh
- rm -rf private/
# https://github.com/coala/coala-bears/issues/1037
- >
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
sed -i '/bears = GitCommitBear/d' .coafile
fi
- coala --non-interactive -V

notifications:
Expand Down

0 comments on commit 2bacbf2

Please sign in to comment.