ps-tags-and-branches Properly save branch and tag info

This commits adds proper saving of tag and branch names after build
creation. The information is not used anywhere for now and thus
commit.branch and build.branch is still populated for backwards
compatibility.

Piotr Sarnacki authored and committed

Push event #2989 errored

  • Ran for
  • Total time
The .travis.yml file used for this job is not available
Build Config
{
  "env": {
    "global": [
      "RUBY_GC_MALLOC_LIMIT=90000000",
      "RUBY_FREE_MIN=200000"
    ]
  },
  "jdk": [
    "oraclejdk7",
    "openjdk6"
  ],
  "rvm": [
    "jruby-19mode"
  ],
  "addons": {
    "postgresql": 9.3
  },
  "matrix": {
    "include": [
      {
        "jdk": null,
        "rvm": "1.9.3"
      },
      {
        "jdk": null,
        "rvm": "2.0.0"
      },
      {
        "jdk": null,
        "rvm": "rbx-2.1.1"
      }
    ],
    "allow_failures": [
      {
        "jdk": null,
        "rvm": "rbx-2.1.1"
      }
    ]
  },
  "script": [
    "./build.sh"
  ],
  "language": "ruby",
  "services": [
    "redis"
  ],
  "before_script": [
    "sudo service mysql stop",
    "redis-cli config set save \"\"",
    "RAILS_ENV=test rake db:create db:structure:load --trace"
  ],
  "notifications": {
    "irc": "irc.freenode.org#travis"
  }
}