Skip to content

Commit

Permalink
ci: fix gitlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
fenngwd committed Jun 24, 2022
1 parent d118ef1 commit 341fa25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ python:
- '3.8'
- '3.9'
install:
- pip install -U importlib-metadata
- pip install -U importlib-metadata gitlint
- pip list
- pip install -r test-requirements.txt -U
script:
- echo $(git log -1 --pretty=%B) > latest_commit_msg; pre-commit run --hook-stage commit-msg commitlint --commit-msg-filename latest_commit_msg; rm -rf latest_commit_msg
- gitlint --commits "8d1d969b..HEAD"
- flake8 sea --exclude=*_pb2.py
- pytest tests/test_contrib/test_extensions/test_celery.py::test_celery_no_app --cov-fail-under=10
- pytest tests
Expand Down

0 comments on commit 341fa25

Please sign in to comment.