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

Make systemd optional #746

Merged
merged 5 commits into from
Mar 11, 2024

Fix summary output

fd1f550
Select commit
Loading
Failed to load commit list.
Merged

Make systemd optional #746

Fix summary output
fd1f550
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Mar 6, 2024 in 15m 8s

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 #746 Make systemd optional.
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
1419.1 DISTRO="debian:testing" Linux passed
1419.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-control-center\"",
        "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\\\"\"}"
  ]
}