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

Brightness fixes #403

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

add: switch kbd-backlight-enable

e363c9f
Select commit
Loading
Failed to load commit list.
Open

Brightness fixes #403

add: switch kbd-backlight-enable
e363c9f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Oct 7, 2024 in 8m 58s

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 #403 Brightness fixes.
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 ENV OS State
609.1 DISTRO="debian:testing" Linux passed
609.2 DISTRO="fedora:latest" Linux passed

Build Configuration

Build Option Setting
Language Shell
Operating System Linux (Jammy)
Build Configuration
{
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "services": [
    "docker"
  ],
  "addons": {
    "apt": {
      "packages": [
        "python3-pip",
        "python3-setuptools"
      ]
    }
  },
  "branches": {
    "except": [
      "gh-pages"
    ]
  },
  "before_install": [
    "curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build",
    "curl -Ls -o gen-index https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/gen-index.sh",
    "chmod +x docker-build gen-index"
  ],
  "install": [
    "pip3 install PyGithub",
    "./docker-build --name ${DISTRO} --config .build.yml --install"
  ],
  "script": [
    "./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts"
  ],
  "notifications": {
    "irc": [
      {
        "if": "(tag OR branch = master) AND repo = \"mate-desktop/mate-power-manager\"",
        "channels": [
          "irc.libera.chat#mate-dev"
        ],
        "template": [
          "[%{repository_name}] %{author}: %{commit_subject}",
          "[%{branch}] %{commit} %{message} %{build_url}"
        ],
        "on_success": "never",
        "on_failure": "always"
      }
    ]
  },
  "deploy": [
    {
      "provider": "pages",
      "strategy": "git",
      "edge": true,
      "token": "$GITHUB_TOKEN",
      "keep_history": false,
      "committer_from_gh": true,
      "target_branch": "gh-pages",
      "local_dir": "html-report",
      "on": {
        "all_branches": true,
        "condition": [
          "${DISTRO} =~ ^fedora.*$"
        ]
      }
    },
    {
      "provider": "script",
      "edge": true,
      "script": "./docker-build --verbose --config .build.yml --release github",
      "on": {
        "tags": true,
        "condition": [
          "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
        ]
      }
    }
  ],
  "after_success": [
    "if [[ \"$TRAVIS_SECURE_ENV_VARS\" == \"true\" && \"$TRAVIS_PULL_REQUEST\" != \"false\" && ${DISTRO} =~ ^fedora.*$ ]]; then REPO_SLUG_ARRAY=(${TRAVIS_REPO_SLUG//\\// }); REPO_NAME=${REPO_SLUG_ARRAY[1]}; URL=\"https://${REPO_NAME}.mate-desktop.dev\"; COMMENT=\"Code analysis completed\"; curl -H \"Authorization: token $GITHUB_TOKEN\" -X POST -d \"{\\\"state\\\": \\\"success\\\", \\\"description\\\": \\\"$COMMENT\\\", \\\"context\\\":\\\"scan-build\\\", \\\"target_url\\\": \\\"$URL\\\"}\" https://api.github.com/repos/${TRAVIS_REPO_SLUG}/statuses/${TRAVIS_PULL_REQUEST_SHA}; fi"
  ],
  "env": [
    "jobs={:DISTRO=>\"\\\"debian:testing\\\"\"}={:DISTRO=>\"\\\"fedora:latest\\\"\"}"
  ]
}