Create style_check.yaml #2803
Open
Create style_check.yaml #2803
Travis CI / Travis CI - Pull Request
failed
Apr 24, 2024 in 1m 52s
Build Failed
The build failed. This is a change from the previous build, which passed.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #2803 Create style_check.yaml.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build has two jobs, running in parallel.
Job | Python | OS | State |
---|---|---|---|
6345.1 | 3.8 | Linux | failed |
6345.2 | 3.9 | Linux | failed |
Build Configuration
Build Option | Setting |
---|---|
Language | Python |
Operating System | Linux (Xenial) |
Python Versions | 3.8, 3.9 |
Build Configuration
{
"language": "python",
"os": [
"linux"
],
"dist": "xenial",
"python": [
"3.8",
"3.9"
],
"branches": {
"only": [
"master"
]
},
"cache": {
"directories": [
"$HOME/.cache/pip"
]
},
"sudo": false,
"install": [
"pip install -r requirements-travis.txt"
],
"script": [
"inspekt checkall --disable-lint W,R,C,E1002,E1101,E1103,E1120,F0401,I0011,E0203,E711,W605,E721 --no-license-check",
"inspekt indent",
"inspekt style",
"error=\"\"\nfor COMMIT in $(git rev-list $TRAVIS_COMMIT_RANGE); do\n echo\n echo \"-----< $(git log -1 --oneline $COMMIT) >-----\"\n msg=$(git show -s --format=%B $COMMIT)\n # Skip merge commits\n if [ $(echo \"${msg::4}\") == 'Merg' ]\n then\n continue\n fi\n # Skip some commits which make travis fail due to commit message\n list='8fd5b57 840e774 c35ffeb'\n for item in $list\n do\n if [ \"$COMMIT\" == \"$item\" ]; then\n echo \"In the list\"\n continue\n fi\n done \n # Test commit message size\n if [ $(echo \"$msg\" | wc -l) -ge 5 ]\n then\n echo \"OK: Commit message size.\"\n else\n echo \"ERR: Commit message is too short (less than 5 lines).\"\n echo \" Here a minimal template:\"\n echo \" ------------------------------------\"\n echo \" header <- Limited to 50 characters. No period.\"\n echo \" <- Blank line\"\n echo \" message <- Any number of lines, limited to 72 characters per line.\"\n echo \" <- Blank line\"\n echo \" Signed-off-by: <- Signature (created by git commit -s)\"\n echo \" ------------------------------------\"\n error=true\n fi\n # Test commit message signature\n if echo \"$msg\" | grep -q 'Signed-off-by:'\n then\n echo \"OK: 'Signed-off-by:' present.\"\n else\n echo \"ERR: 'Signed-off-by:' not found (use '-s' in 'git commit').\"\n error=true\n fi\ndone\n# Look for errors\nif [ \"$error\" ]; then\n echo\n echo \"Incremental smokecheck failed.\"\n exit 1\nfi"
]
}
Loading