default build branch=default; source=; env="VERSION=5.38.0 ALIAS=5.3…

API event #2020.2 passed

  • Ran for
xenial
AMD64
Shell
Git
This is the configuration for all of build #2020, including this job
api
{
  "merge_mode": "deep_merge",
  "env": {
    "global": "VERSION=5.38.0 ALIAS=5.38"
  },
  "jobs": {
    "include": [
      {
        "sudo": "required",
        "language": "minimal",
        "dist": "bionic",
        "os": "linux",
        "group": "dev",
        "name": "bionic",
        "arch": "x86_64"
      }
    ]
  }
}
travis-ci/perl-builder:.travis.yml@c83c66d
language: perl

perl: '5.22.0'

jobs:
  include:
    - sudo: required
      language: minimal
      dist: bionic
      os: linux
      group: dev
      name: bionic
    - sudo: required
      language: minimal
      dist: xenial
      os: linux
      group: edge
      name: xenial
    - sudo: required
      dist: trusty
      os: linux
      services:
        - docker
      name: trusty
    - dist: precise
      os: linux
      name: precise
    # - os: osx
    #   osx_image: xcode6.4
    #   env:
    #     - RELEASE=yosemite
    - os: osx
      osx_image: xcode7.3
      name: el_capitan
    # - os: osx
    #   osx_image: xcode8.3
    #   env:
    #     - RELEASE=sierra
    - arch: ppc64le
      dist: xenial
      os: linux
      group: edge
      name: xenial-ppc64le
    - arch: arm64-graviton2
      dist: focal
      os: linux
      group: edge
      virt: lxd
      name: focal-arm64-graviton2
    - dist: focal
      os: linux
      name: focal
      group: dev
    - dist: jammy
      language: minimal
      os: linux
      name: jammy
      group: dev

env:
  global:
    - VERSION='5.24.3'
    - ALIAS='5.24'
    - ARGS=''
install:
  - if [[ $TRAVIS_OS_NAME = 'osx' ]]; then sudo chown -R $USER $HOME/perl5/; fi
  - \curl -L http://install.perlbrew.pl | bash
  - export PATH=$HOME/perl5/perlbrew/bin:$PATH

before_script:
  - export LSB_RELEASE=$(lsb_release -rs 2>/dev/null || sw_vers -productVersion | sed 's/^\([0-9][0-9]*.[0-9][0-9]*\).*/\1/')
  - export OS_NAME=${OS_NAME:-$((lsb_release -is 2>/dev/null || echo "osx") | tr "A-Z" "a-z")}
  - export ARCH=$(uname -m)

script:
  - if [[ $TRAVIS_OS_NAME = 'osx' ]]; then source $HOME/perl5/perlbrew/etc/bashrc; fi
  - perlbrew install-cpanm --force
  - (perlbrew list | grep $VERSION) && (yes | perlbrew uninstall $VERSION) || true
  - perlbrew install perl-$VERSION --as $VERSION $ARGS --notest
  - |
    if [[ x$ALIAS != x ]]; then
      for alias in $ALIAS; do
        (yes | perlbrew uninstall $ALIAS) || true; perlbrew alias -f create $VERSION $ALIAS || true
        perlbrew list
        TAR_PATHS='$HOME/perl5/perlbrew/perls/$alias'
        TAR_PATHS="$TAR_PATHS $HOME/perl5/perlbrew/perls/$alias"
        if [[ -z "${MODULES}" ]]; then export MODULES='ExtUtils::MakeMaker Dist::Zilla Moose Test::Pod Test::Pod::Coverage Test::Exception Dist::Zilla::Plugin::Bootstrap::lib LWP Module::Install Test::Most'; fi
        for module in $MODULES; do perlbrew use $VERSION && cpanm $module --force --notest; done
      done
    else
      perlbrew list
    fi
  - if [[ -z "${MODULES}" ]]; then export MODULES='ExtUtils::MakeMaker Dist::Zilla Moose Test::Pod Test::Pod::Coverage Test::Exception Dist::Zilla::Plugin::Bootstrap::lib LWP Module::Install Test::Most'; fi
  - for module in $MODULES; do perlbrew use $VERSION && cpanm $module --force --notest; done

after_success:
  - mkdir -p $TRAVIS_BUILD_DIR/$LSB_RELEASE/
  - tar cjf $TRAVIS_BUILD_DIR/$LSB_RELEASE/perl-${NAME:-${VERSION}}.tar.bz2 $HOME/perl5/perlbrew/perls/$VERSION $HOME/perl5/perlbrew/bin
  - if [[ x$ALIAS != x ]]; then tar cjf $TRAVIS_BUILD_DIR/$LSB_RELEASE/perl-${ALIAS}.tar.bz2 $HOME/perl5/perlbrew/perls/$VERSION $HOME/perl5/perlbrew/perls/$ALIAS $HOME/perl5/perlbrew/bin; fi
  - ls -l $TRAVIS_BUILD_DIR/$LSB_RELEASE

addons:
  artifacts:
    paths:
    - $LSB_RELEASE/
    target_paths:
    - /binaries/$OS_NAME/$LSB_RELEASE/$ARCH
Build Config
{
  "language": "perl",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "env": {
    "global": [
      {
        "VERSION": "5.38.0",
        "ALIAS": "5.38"
      }
    ]
  },
  "jobs": {
    "include": [
      {
        "sudo": true,
        "language": "shell",
        "dist": "bionic",
        "os": "linux",
        "group": "dev",
        "name": "bionic"
      },
      {
        "sudo": true,
        "language": "shell",
        "dist": "xenial",
        "os": "linux",
        "group": "edge",
        "name": "xenial"
      },
      {
        "sudo": true,
        "dist": "trusty",
        "os": "linux",
        "services": [
          "docker"
        ],
        "name": "trusty"
      },
      {
        "dist": "precise",
        "os": "linux",
        "name": "precise"
      },
      {
        "os": "osx",
        "osx_image": "xcode7.3",
        "name": "el_capitan"
      },
      {
        "arch": "ppc64le",
        "dist": "xenial",
        "os": "linux",
        "group": "edge",
        "name": "xenial-ppc64le"
      },
      {
        "arch": "arm64-graviton2",
        "dist": "focal",
        "os": "linux",
        "group": "edge",
        "virt": "lxd",
        "name": "focal-arm64-graviton2"
      },
      {
        "dist": "focal",
        "os": "linux",
        "name": "focal",
        "group": "dev"
      },
      {
        "dist": "jammy",
        "language": "shell",
        "os": "linux",
        "name": "jammy",
        "group": "dev"
      },
      {
        "sudo": true,
        "language": "shell",
        "dist": "bionic",
        "os": "linux",
        "group": "dev",
        "name": "bionic",
        "arch": "amd64"
      }
    ]
  },
  "perl": [
    "5.22.0"
  ],
  "install": [
    "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then sudo chown -R $USER $HOME/perl5/; fi",
    "\\curl -L http://install.perlbrew.pl | bash",
    "export PATH=$HOME/perl5/perlbrew/bin:$PATH"
  ],
  "before_script": [
    "export LSB_RELEASE=$(lsb_release -rs 2>/dev/null || sw_vers -productVersion | sed 's/^\\([0-9][0-9]*.[0-9][0-9]*\\).*/\\1/')",
    "export OS_NAME=${OS_NAME:-$((lsb_release -is 2>/dev/null || echo \"osx\") | tr \"A-Z\" \"a-z\")}",
    "export ARCH=$(uname -m)"
  ],
  "script": [
    "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then source $HOME/perl5/perlbrew/etc/bashrc; fi",
    "perlbrew install-cpanm --force",
    "(perlbrew list | grep $VERSION) && (yes | perlbrew uninstall $VERSION) || true",
    "perlbrew install perl-$VERSION --as $VERSION $ARGS --notest",
    "if [[ x$ALIAS != x ]]; then\n  for alias in $ALIAS; do\n    (yes | perlbrew uninstall $ALIAS) || true; perlbrew alias -f create $VERSION $ALIAS || true\n    perlbrew list\n    TAR_PATHS='$HOME/perl5/perlbrew/perls/$alias'\n    TAR_PATHS=\"$TAR_PATHS $HOME/perl5/perlbrew/perls/$alias\"\n    if [[ -z \"${MODULES}\" ]]; then export MODULES='ExtUtils::MakeMaker Dist::Zilla Moose Test::Pod Test::Pod::Coverage Test::Exception Dist::Zilla::Plugin::Bootstrap::lib LWP Module::Install Test::Most'; fi\n    for module in $MODULES; do perlbrew use $VERSION && cpanm $module --force --notest; done\n  done\nelse\n  perlbrew list\nfi\n",
    "if [[ -z \"${MODULES}\" ]]; then export MODULES='ExtUtils::MakeMaker Dist::Zilla Moose Test::Pod Test::Pod::Coverage Test::Exception Dist::Zilla::Plugin::Bootstrap::lib LWP Module::Install Test::Most'; fi",
    "for module in $MODULES; do perlbrew use $VERSION && cpanm $module --force --notest; done"
  ],
  "after_success": [
    "mkdir -p $TRAVIS_BUILD_DIR/$LSB_RELEASE/",
    "tar cjf $TRAVIS_BUILD_DIR/$LSB_RELEASE/perl-${NAME:-${VERSION}}.tar.bz2 $HOME/perl5/perlbrew/perls/$VERSION $HOME/perl5/perlbrew/bin",
    "if [[ x$ALIAS != x ]]; then tar cjf $TRAVIS_BUILD_DIR/$LSB_RELEASE/perl-${ALIAS}.tar.bz2 $HOME/perl5/perlbrew/perls/$VERSION $HOME/perl5/perlbrew/perls/$ALIAS $HOME/perl5/perlbrew/bin; fi",
    "ls -l $TRAVIS_BUILD_DIR/$LSB_RELEASE"
  ],
  "addons": {
    "artifacts": {
      "paths": [
        "$LSB_RELEASE/"
      ],
      "target_paths": [
        "/binaries/$OS_NAME/$LSB_RELEASE/$ARCH"
      ]
    }
  }
}