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

Ubuntu22 #363

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

Add force to the rm command

acd5db8
Select commit
Loading
Failed to load commit list.
Open

Ubuntu22 #363

Add force to the rm command
acd5db8
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Nov 2, 2023 in 1m 49s

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 #363 Ubuntu22.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Xenial)
Node.js Version 8
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "node_js": [
    "8"
  ],
  "services": [
    "docker"
  ],
  "before_install": [
    "sudo pip install --upgrade s3cmd"
  ],
  "install": [
    "skip"
  ],
  "script": [
    "mkdir -p packages",
    "export DESTDIR=`realpath packages`",
    "export TAG=${TAG:-$TRAVIS_BRANCH}",
    "echo \"> building from TAG $TAG\"",
    "export DISTROS=`ls distros`; for i in $DISTROS; do echo \"Building for distro $i...\" && ./dist-utils/build-package.sh $i -d $DESTDIR -t $TAG; done",
    "export AWS_ACCESS_KEY_ID=\"AKIAJWBFLU34IVITPLHA\"",
    "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET",
    "export AWS_DEFAULT_REGION=eu-west-1",
    "echo $TRAVIS_PULL_REQUEST",
    "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then export DEPLOY=true; else export DEPLOY=false; fi",
    "echo \"Deploy for build is $DEPLOY...\"",
    "if [ \"$DEPLOY\" = \"true\" ] then shopt -s nullglob; for package in $DESTDIR/*.{deb,pkg.tar.zst,rpm}; do echo Uploading package to http://stremio-artifacts.s3.amazonaws.com/shell-linux/$TAG/$package; s3cmd --acl-public --access_key=$AWS_ACCESS_KEY_ID --secret_key=$AWS_SECRET_ACCESS_KEY --force --region=$AWS_DEFAULT_REGION --add-header=Cache-Control:max-age=7200 put \"$package\" s3://stremio-artifacts/shell-linux/$TAG/; done; fi"
  ],
  "notifications": {
    "slack": [
      {
        "rooms": [
          "stremio:74vRvYUJbhcl3IrYCbOIvTo3#installer-ci"
        ],
        "template": [
          "%{repository}@%{branch}: build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) by %{author} %{result} in %{duration}\n%{message} - %{commit_message}\""
        ]
      }
    ]
  }
}