conditionally add the travis build number and sha

[finishes #53587615]

Signed-off-by: Alex Jackson <ajackson@pivotallabs.com>