Detect branch name in Travis CI environment