travis-ci/travis-build — pull request #20 by lance (2012-05-02 20:42:31+00:00)
Title: Expose the commit branch to the environment as BRANCH

This is a simple change to add BRANCH=#{commit.branch} to the build environment so that a build script (e.g. rake) can do things conditionally based on the branch.