Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: replace validate-commit-msg with commitlint on Travis #3523

Merged
merged 1 commit into from May 20, 2020

Conversation

devoto13
Copy link
Collaborator

Former is deprecated in favor of later. Karma already uses commitlint + husky to do commit validation locally. Added a dedicated package to simplify Travis integration as described in the commitlint documentation.

As a bonus it provides a detailed error message when Travis fails because of the bad commit message (example).

Former is [deprecated](https://www.npmjs.com/package/validate-commit-msg) in favor of later. Karma already uses commitlint + husky to do commit validation locally. Added a dedicated package to simplify Travis integration as described in the commitlint [documentation](https://commitlint.js.org/#/guides-ci-setup).

As a bonus it provides a good error message when Travis fails because of the bad commit message ([example](https://travis-ci.org/github/karma-runner/karma/jobs/688059354#L92)).
@karmarunnerbot
Copy link
Member

Build karma 298 completed (commit 6cbb2eccea by @devoto13)

@karmarunnerbot
Copy link
Member

Build karma 297 completed (commit 6cbb2eccea by @devoto13)

@devoto13 devoto13 requested a review from johnjbarton May 19, 2020 22:47
@johnjbarton johnjbarton merged commit c22c297 into karma-runner:master May 20, 2020
@devoto13 devoto13 deleted the commitlint branch May 20, 2020 09:01
@karmarunnerbot
Copy link
Member

🎉 This PR is included in version 5.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

anthony-redFox pushed a commit to anthony-redFox/karma that referenced this pull request May 16, 2023
…er#3523)

Former is [deprecated](https://www.npmjs.com/package/validate-commit-msg) in favor of later. Karma already uses commitlint + husky to do commit validation locally. Added a dedicated package to simplify Travis integration as described in the commitlint [documentation](https://commitlint.js.org/#/guides-ci-setup).

As a bonus it provides a good error message when Travis fails because of the bad commit message ([example](https://travis-ci.org/github/karma-runner/karma/jobs/688059354#L92)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants