Pull request event #8154 errored

  • Ran for
  • Total time
  • New branch build
travis-ci/cpython-builder:.travis.yml@4c72539
language: __sardonyx__

stages:
  - build
stage: build

jobs:
  include:
    - language: bash
      dist: freebsd
      name: freebsd
      os: freebsd
      group: dev
    - language: minimal
      dist: bionic
      group: dev
      name: bionic
      os: linux
    - language: minimal
      dist: xenial
      group: edge
      name: xenial
      os: linux
    - dist: trusty
      name: trusty
      os: linux
      if: NOT env(VERSION) =~ -dev$ AND NOT env(VERSION) =~ ^3\.[789]
    - dist: precise
      name: precise
      os: linux
      if: NOT env(VERSION) =~ -dev$ AND NOT env(VERSION) =~ ^pypy AND NOT env(VERSION) =~ ^3\.[789]
    - arch: ppc64le
      dist: xenial
      name: xenial-ppc64le
      os: linux
      language: minimal
    - arch: ppc64le
      dist: bionic
      name: bionic-ppc64le
      os: linux
      language: minimal
    - arch: s390x
      dist: xenial
      name: xenial-ppc64le
      os: linux
      language: minimal
    - arch: s390x
      dist: bionic
      name: bionic-ppc64le
      os: linux
      language: minimal
    - arch: arm64
      dist: xenial
      name: xenial-arm64
      language: minimal
    - arch: arm64
      dist: bionic
      name: bionic-arm64
      language: minimal

env:
  global:
  - VERSION=3.8-dev
  # - ALIAS=nightly

install:
- pushd /opt/pyenv/
- sudo git checkout master
- sudo git pull
- popd
- python -m pip install virtualenv

before_script:
- 'export INSTALL_DEST=${INSTALL_DEST:-/opt/python}'
- 'export LSB_RELEASE=${LSB_RELEASE:-$(lsb_release -rs || if [[ $(uname -a) == *"FreeBSD"* ]]; then echo $(uname -r | rev | cut -c9- | rev); else false; fi || echo ${$(sw_vers -productVersion)%*.*})}'
- 'export OS_NAME=${OS_NAME:-$((lsb_release -is || if [[ $(uname -a) == *"FreeBSD"* ]]; then echo $(uname | cut -c1-); else false; fi || echo "osx") | tr "A-Z" "a-z")}'
- 'export ARCH=${ARCH:-$(uname -m)}'
# pipenv is supported for python 2.7 and 3.4 and higher.
- 'export PACKAGES=${PACKAGES:-pip nose pytest mock wheel pipenv}'
- export PYTHON_CONFIGURE_OPTS="--with-wide-unicode --enable-shared --enable-ipv6 --enable-loadable-sqlite-extensions --with-computed-gotos $CONFIGURE_OPTS"
- sudo chown -R $USER $HOME/.cache
- |
  if [[ $VERSION = pypy*-dev ]]; then
    if ! [[ -f ~/virtualenv/pypy/bin/activate ]]; then
      curl -O https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/$(lsb_release -rs)/x86_64/pypy2.7-5.9.0.tar.bz2
      sudo tar xf pypy*.tar.bz2 -C /
    fi
    source ~/virtualenv/pypy/bin/activate
    python --version
  fi
- __dots() { while true ; do echo -en . ; sleep 30 ; done } ; __dots &

script: ./bin/compile

after_success: ./bin/archive

after_failure: cat /tmp/python-build.*.log

addons:
  apt:
    packages:
      - openssl
      - libssl-dev
      - mercurial
  artifacts:
    paths:
    - $LSB_RELEASE/
    target_paths:
    - /binaries/$OS_NAME/$LSB_RELEASE/$ARCH
    branch:
    - default
    cache_control: public

notifications:
  email: false
  slack:
    rooms:
      secure: "ZZb1XxoEiVqSUYTwQDxDLasQwVyF5s2FUoTI4Hcf66GGr50seBgWvcHpCkbtDbntluoyUB/s9MyuVAsIq/tIu+z2EQpKQN8PGZXYZEb2DzEkRbekyUx4MQufvY3mbIwv69SSs12uq90Ce2R3S+okPvbjCB7HzEufW9wvtl6TwME="
    on_success: never
    on_failure: always
    on_pull_requests: false
Build Config
{
  "language": "__sardonyx__",
  "stages": [
    "build"
  ],
  "stage": "build",
  "jobs": {
    "include": [
      {
        "language": "bash",
        "dist": "freebsd",
        "name": "freebsd",
        "os": "freebsd",
        "group": "dev"
      },
      {
        "language": "minimal",
        "dist": "bionic",
        "group": "dev",
        "name": "bionic",
        "os": "linux"
      },
      {
        "language": "minimal",
        "dist": "xenial",
        "group": "edge",
        "name": "xenial",
        "os": "linux"
      },
      {
        "dist": "trusty",
        "name": "trusty",
        "os": "linux",
        "if": "NOT env(VERSION) =~ -dev$ AND NOT env(VERSION) =~ ^3\\.[789]"
      },
      {
        "dist": "precise",
        "name": "precise",
        "os": "linux",
        "if": "NOT env(VERSION) =~ -dev$ AND NOT env(VERSION) =~ ^pypy AND NOT env(VERSION) =~ ^3\\.[789]"
      },
      {
        "arch": "ppc64le",
        "dist": "xenial",
        "name": "xenial-ppc64le",
        "os": "linux",
        "language": "minimal"
      },
      {
        "arch": "ppc64le",
        "dist": "bionic",
        "name": "bionic-ppc64le",
        "os": "linux",
        "language": "minimal"
      },
      {
        "arch": "s390x",
        "dist": "xenial",
        "name": "xenial-ppc64le",
        "os": "linux",
        "language": "minimal"
      },
      {
        "arch": "s390x",
        "dist": "bionic",
        "name": "bionic-ppc64le",
        "os": "linux",
        "language": "minimal"
      },
      {
        "arch": "arm64",
        "dist": "xenial",
        "name": "xenial-arm64",
        "language": "minimal"
      },
      {
        "arch": "arm64",
        "dist": "bionic",
        "name": "bionic-arm64",
        "language": "minimal"
      }
    ]
  },
  "env": {
    "global": [
      "VERSION=3.8-dev"
    ]
  },
  "install": [
    "pushd /opt/pyenv/",
    "sudo git checkout master",
    "sudo git pull",
    "popd",
    "python -m pip install virtualenv"
  ],
  "before_script": [
    "export INSTALL_DEST=${INSTALL_DEST:-/opt/python}",
    "export LSB_RELEASE=${LSB_RELEASE:-$(lsb_release -rs || if [[ $(uname -a) == *\"FreeBSD\"* ]]; then echo $(uname -r | rev | cut -c9- | rev); else false; fi || echo ${$(sw_vers -productVersion)%*.*})}",
    "export OS_NAME=${OS_NAME:-$((lsb_release -is || if [[ $(uname -a) == *\"FreeBSD\"* ]]; then echo $(uname | cut -c1-); else false; fi || echo \"osx\") | tr \"A-Z\" \"a-z\")}",
    "export ARCH=${ARCH:-$(uname -m)}",
    "export PACKAGES=${PACKAGES:-pip nose pytest mock wheel pipenv}",
    "export PYTHON_CONFIGURE_OPTS=\"--with-wide-unicode --enable-shared --enable-ipv6 --enable-loadable-sqlite-extensions --with-computed-gotos $CONFIGURE_OPTS\"",
    "sudo chown -R $USER $HOME/.cache",
    "if [[ $VERSION = pypy*-dev ]]; then\n  if ! [[ -f ~/virtualenv/pypy/bin/activate ]]; then\n    curl -O https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/$(lsb_release -rs)/x86_64/pypy2.7-5.9.0.tar.bz2\n    sudo tar xf pypy*.tar.bz2 -C /\n  fi\n  source ~/virtualenv/pypy/bin/activate\n  python --version\nfi\n",
    "__dots() { while true ; do echo -en . ; sleep 30 ; done } ; __dots &"
  ],
  "script": "./bin/compile",
  "after_success": "./bin/archive",
  "after_failure": "cat /tmp/python-build.*.log",
  "addons": {
    "apt": {
      "packages": [
        "openssl",
        "libssl-dev",
        "mercurial"
      ]
    },
    "artifacts": {
      "paths": [
        "$LSB_RELEASE/"
      ],
      "target_paths": [
        "/binaries/$OS_NAME/$LSB_RELEASE/$ARCH"
      ],
      "branch": [
        "default"
      ],
      "cache_control": "public"
    }
  },
  "notifications": {
    "email": false,
    "slack": {
      "rooms": {
        "secure": "ZZb1XxoEiVqSUYTwQDxDLasQwVyF5s2FUoTI4Hcf66GGr50seBgWvcHpCkbtDbntluoyUB/s9MyuVAsIq/tIu+z2EQpKQN8PGZXYZEb2DzEkRbekyUx4MQufvY3mbIwv69SSs12uq90Ce2R3S+okPvbjCB7HzEufW9wvtl6TwME="
      },
      "on_success": "never",
      "on_failure": "always",
      "on_pull_requests": false
    }
  }
}