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

Making disk_info.py script platform independent #2896

Making disk_info.py script platform independent

06162e9
Select commit
Loading
Failed to load commit list.
Closed

Making disk_info.py script platform independent #2896

Making disk_info.py script platform independent
06162e9
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Sep 13, 2024 in 1m 18s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2896 Making disk_info.py script platform independent.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has three jobs, running in parallel.

Job Python OS State
6653.1 3.8 Linux passed
6653.2 3.9 Linux passed
6653.3 3.10 Linux passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Versions 3.8, 3.9, 3.10
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "python": [
    "3.8",
    "3.9",
    "3.10"
  ],
  "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"
  ]
}