travis: add branch detection for pull requests