hffariel edited a comment on issue #3408:
URL:
https://github.com/apache/incubator-doris/issues/3408#issuecomment-620405276
@morningman
Could be done by adding these lines to travis.yml ? Sure, it may looks like
a trick though.
```yaml
- export
PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo
$TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
- echo $BRANCH
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]