Changed BRANCH detection for Travis CI