Using TRAVIS_JOB_NUMBER for version extension as this seems to behave better.
Logging branch as it seems to be a SHA in travis.