Skip to content

Commit

Permalink
travis: Add gitlint check to automation
Browse files Browse the repository at this point in the history
Add a Gitlint check which is allowed to fail.
  • Loading branch information
Rick Salevsky committed Jul 4, 2019
1 parent f24c63c commit 0fa8f23
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
dist: xenial

matrix:
allow_failures:
- env: ALLOW_FAILURE=true
include:
- name: "Validate Commit Message"
language: python
env: ALLOW_FAILURE=true
script:
- pip install gitlint
- gitlint --commits master..HEAD -C scripts/jenkins/gitlint.ini
- name: "Validate Filenames"
language: minimal
script:
Expand Down

0 comments on commit 0fa8f23

Please sign in to comment.