Push event #5 failed

  • Ran for
  • Total time
  • New branch build
.travis.yml
language: ruby
rvm:
- "2.2.9"
- "2.3.6"
- "2.4"
- "2.5.3"

jobs:
  include:
    - stage: deploy
      if: branch = master AND NOT type IN (pull_request)
      cache: false
      before_deploy:
        - sed -i.bak "s/VERSION = '.*'/VERSION = '${DPL_VERSION}'/g" lib/dpl/version.rb
        - git config user.name "travisbot"
        - git config user.email "deploy@travis-ci.org"
        - git add lib/dpl/version.rb
        - git commit -m "Update DPL::Version"
      deploy:
        - provider: rubygems
          edge:
            branch: master
          api_key:
            secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME=
          gem: dpl
          gemspec_glob: 'dpl*.gemspec'
          on:
            repo: travis-ci/dpl
  allow_failures:

env:
  global:
    - DPL_VERSION=$(ruby -I lib -r dpl/version.rb -e "puts DPL::VERSION.succ + \".travis.#{ENV['TRAVIS_JOB_NUMBER']}\"")

sudo: false

before_cache:
  - rm -rf $GEM_HOME/cache/dpl-*.travis.*.gem $GEM_HOME/gems/dpl-*.travis.* $GEM_HOME/specifications/dpl-*.travis.*
  - git checkout bin/dpl

cache:
  directories:
    - vendor/cache
    - $GEM_HOME
    - node_modules

before_install:
  - gem update bundler

before_script:
  - rm -f $(ruby -r rubygems -e "puts Gem.bindir")/dpl

script:
  - rake
Build Config
{
  "env": {
    "global": [
      "DPL_VERSION=$(ruby -I lib -r dpl/version.rb -e \"puts DPL::VERSION.succ + \\\".travis.#{ENV['TRAVIS_JOB_NUMBER']}\\\"\")"
    ]
  },
  "rvm": [
    "2.2.9",
    "2.3.6",
    "2.4",
    "2.5.3"
  ],
  "jobs": {
    "include": [
      {
        "if": "branch = master AND NOT type IN (pull_request)",
        "cache": false,
        "stage": "deploy",
        "deploy": [
          {
            "gem": "dpl",
            "edge": {
              "branch": "master"
            },
            "true": {
              "repo": "travis-ci/dpl"
            },
            "api_key": {
              "secure": "V4qs6F5XoWFgNYoNU+QPBwg+ya5CDbl/PoL0MEUYlRWjzxW9U+rgSWOFBLFBggc9mZHsO5YFOBko5CKbE47EQ7evGQdG6TFGD05Lv2cC4WIfApWJtKDnbYoEV32Vt4DsE14eVAA/3Imjen+kAt/O428MB1jaJvDgPWn8n3BRFsW7P/ZyIoO5I0y56euP4Y0z5JAper9OJCmxvPYzI7C7EpKOx4IvlUyBvu5V+nddl287EJCJ11G9b6+i/1+AEe/QZy6F142Uw/U1Lwdrd+pF/wRVVZgIWVVEeTY24PGTf8crqQxbqncMXRjKxErckPFLcn2g/gZUA2MFr1E5xzFsxzxah9NfQlwhFzLNOcq+5FlMysLaAZnlxyS+byfWz1/r+amnyy1JCDW6i1QrRXeVP+iCOcooUDs+5COu62RnEnhfeM7FuxWSoQxgZndr9T/2eKgEA+jTBvxUBj77MJr+t5+AlAfjnO22LgXjEivvGOp2l2RkslaAS2RPrwiyStU6JRA5zDt72s69lXX5vF6xatpWwBjq9JmUO6cnJ8N233hObUxpRhQ9OVbnhs7a/Z6Jlee6RqxQoepIjB+7HGh7b16oe0/0PG9pBvyZ7TxfGFzv7EndYAPCoUNO2Kl/NBzOPh2NUNRel5lzidrEeJ/s9IbU9nbT3PRO6R12LdSURVY="
            },
            "provider": "rubygems",
            "gemspec_glob": "dpl*.gemspec"
          }
        ],
        "before_deploy": [
          "sed -i.bak \"s/VERSION = '.*'/VERSION = '${DPL_VERSION}'/g\" lib/dpl/version.rb",
          "git config user.name \"travisbot\"",
          "git config user.email \"deploy@travis-ci.org\"",
          "git add lib/dpl/version.rb",
          "git commit -m \"Update DPL::Version\""
        ]
      }
    ],
    "allow_failures": null
  },
  "sudo": false,
  "cache": {
    "directories": [
      "vendor/cache",
      "$GEM_HOME",
      "node_modules"
    ]
  },
  "script": [
    "rake"
  ],
  "language": "ruby",
  "before_cache": [
    "rm -rf $GEM_HOME/cache/dpl-*.travis.*.gem $GEM_HOME/gems/dpl-*.travis.* $GEM_HOME/specifications/dpl-*.travis.*",
    "git checkout bin/dpl"
  ],
  "before_script": [
    "rm -f $(ruby -r rubygems -e \"puts Gem.bindir\")/dpl"
  ],
  "before_install": [
    "gem update bundler"
  ]
}