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

Listen to org.freedesktop.ScreenSaver events #300

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

Migrate mate-screensaver-command to org.freedesktop.Screensaver

9030c30
Select commit
Loading
Failed to load commit list.
Open

Listen to org.freedesktop.ScreenSaver events #300

Migrate mate-screensaver-command to org.freedesktop.Screensaver
9030c30
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jun 21, 2024 in 7m 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 #300 Listen to org.freedesktop.ScreenSaver events.
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
448.1 DISTRO="debian:testing" Linux passed
448.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-screensaver\"",
        "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\\\"\"}"
  ]
}