We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent febebbc commit 7912f0dCopy full SHA for 7912f0d
.travis.yml
@@ -26,6 +26,14 @@ before_script:
26
27
script:
28
- nosetests --with-coverage --cover-package=netjsonconfig
29
+ - |
30
+ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
31
+ # gets commit message of last commit before pull request merge
32
+ COMMIT_MESSAGE=$(git log $TRAVIS_PULL_REQUEST_SHA --format=%B -n 1)
33
+ printf "Checking commit message:\n\n"
34
+ printf "$COMMIT_MESSAGE\n\n"
35
+ checkcommit --message "$COMMIT_MESSAGE"
36
+ fi
37
38
after_success:
39
coveralls
requirements-test.txt
@@ -5,3 +5,5 @@ isort
5
flake8
6
sphinx
7
sphinx_rtd_theme
8
+# commit message style check
9
+openwisp-utils>=0.2.1
0 commit comments