Revert "trying to find out git branch on travis"

This reverts commit 5b486181e8a3a93f3ac114d9eeccd6925c08eaef.
use travis env variables to find out branch