master cron Merge pull request #3444 from travis-ci/kw-go

Update go.md

stan-travis authored GitHub committed

Cron job event #10958.2 errored

  • Ran for
update dpl v2 docs
AMD64
Shell
Git
This is the configuration for all of build #10958, including this job
travis-ci/docs-travis-ci-com:.travis.yml@b405e42
#language: ruby
dist: bionic

branches:
  only:
  - master

jobs:
  include:
  - name: build site
    language: python
    python:
      - "3.8.3"
    env:
      global:
        - PATH=$HOME/.local/user/bin:$PATH
        - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
    cache:
      pip: true
      directories:
        - vendor/bundle
        - node_modules
        - $TRAVIS_BUILD_DIR/tmp/.htmlproofer #https://github.com/gjtorikian/html-proofer/issues/381
    addons:
      apt:
        packages:
          - libxml2-utils
    install:
      - rvm use 2.6.3 --install
      - bundle install --deployment
      - sudo apt-get install libcurl4-openssl-dev # required to avoid SSL errors
    script:
      - bundle exec rake test
      - xmllint --noout _site/feed.build-env-updates.xml

  - name: update dpl v2 docs
    if: type = cron || commit_message =~ /ci:dpl/
    language: shell
    cache: false
    install:
    - rvm use 3.3.1 --install
    script:
    - git clone https://github.com/travis-ci/dpl.git
    - cd dpl
    - gem build dpl.gemspec
    - gem install dpl-*.gem
    - cd ..
    - rm -rf dpl
    - bin/dpl
    deploy:
    - provider: git_push
      token:
        secure: "YHuTjIGKpG0A8QJ4kmdLfOW1n+62uLakXv0KjCzWExl22qLSn2frip3j8JsaeMfndsmNZBUfGoONVHvDS+PHnkbRMYf21SjgctpVfHRYZQ3pulexOViEQ6azRgCBWuPO8A+vAyxvjlV4e3UDGnt2x/0X/Tdg9iVf/zzBGjM0YX0="
      branch: auto-dpl-v2-update-docs
      pull_request: true
      edge:
        branch: master

notifications:
  slack:
    rooms:
      secure: LPNgf0Ra6Vu6I7XuK7tcnyFWJg+becx1RfAR35feWK81sru8TyuldQIt7uAKMA8tqFTP8j1Af7iz7UDokbCCfDNCX1GxdAWgXs+UKpwhO89nsidHAsCkW2lWSEM0E3xtOJDyNFoauiHxBKGKUsApJTnf39H+EW9tWrqN5W2sZg8=
    on_success: never
  webhooks:
    https://docs.travis-ci.com/update_webhook_payload_doc
Build Config
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "branches": {
    "only": [
      "master"
    ]
  },
  "jobs": {
    "include": [
      {
        "name": "build site",
        "language": "python",
        "python": "3.8.3",
        "env": [
          {
            "global": "PATH=$HOME/.local/user/bin:$PATH"
          }
        ],
        "cache": {
          "pip": true,
          "directories": [
            "vendor/bundle",
            "node_modules",
            "$TRAVIS_BUILD_DIR/tmp/.htmlproofer"
          ]
        },
        "addons": {
          "apt": {
            "packages": [
              "libxml2-utils"
            ]
          }
        },
        "install": [
          "rvm use 2.6.3 --install",
          "bundle install --deployment",
          "sudo apt-get install libcurl4-openssl-dev"
        ],
        "script": [
          "bundle exec rake test",
          "xmllint --noout _site/feed.build-env-updates.xml"
        ]
      },
      {
        "name": "update dpl v2 docs",
        "if": "type = cron || commit_message =~ /ci:dpl/",
        "language": "shell",
        "cache": false,
        "install": [
          "rvm use 3.3.1 --install"
        ],
        "script": [
          "git clone https://github.com/travis-ci/dpl.git",
          "cd dpl",
          "gem build dpl.gemspec",
          "gem install dpl-*.gem",
          "cd ..",
          "rm -rf dpl",
          "bin/dpl"
        ],
        "deploy": [
          {
            "pull_request": true,
            "provider": "git_push",
            "token": {
              "secure": "YHuTjIGKpG0A8QJ4kmdLfOW1n+62uLakXv0KjCzWExl22qLSn2frip3j8JsaeMfndsmNZBUfGoONVHvDS+PHnkbRMYf21SjgctpVfHRYZQ3pulexOViEQ6azRgCBWuPO8A+vAyxvjlV4e3UDGnt2x/0X/Tdg9iVf/zzBGjM0YX0="
            },
            "branch": "auto-dpl-v2-update-docs",
            "edge": {
              "branch": "master"
            }
          }
        ]
      }
    ]
  },
  "notifications": {
    "slack": [
      {
        "rooms": [
          {
            "secure": "LPNgf0Ra6Vu6I7XuK7tcnyFWJg+becx1RfAR35feWK81sru8TyuldQIt7uAKMA8tqFTP8j1Af7iz7UDokbCCfDNCX1GxdAWgXs+UKpwhO89nsidHAsCkW2lWSEM0E3xtOJDyNFoauiHxBKGKUsApJTnf39H+EW9tWrqN5W2sZg8="
          }
        ],
        "on_success": "never"
      }
    ],
    "webhooks": [
      {
        "urls": [
          "https://docs.travis-ci.com/update_webhook_payload_doc"
        ]
      }
    ]
  }
}