build,travis: don't use TRAVIS_PULL_REQUEST
authorEtienne Champetier <champetier.etienne@gmail.com>
Thu, 7 Dec 2017 05:05:10 +0000 (21:05 -0800)
committerEtienne Champetier <champetier.etienne@gmail.com>
Thu, 7 Dec 2017 05:17:42 +0000 (21:17 -0800)
commit743bfbc1f2eb1741c56f927dddf2d5a37200345e
tree26969dcc79dcc0b38b966ac11e2246594d01e598
parentf3d0d51e9697cfb5dddaf22a9083357de7c11e8b
build,travis: don't use TRAVIS_PULL_REQUEST

TRAVIS_PULL_REQUEST can be:
- undefined (local usage)
- false (branch build)
- PR number (if in a PR)
it's never set to true

use TRAVIS_PULL_REQUEST_SHA instead, so we can use normal tests (-z/-n)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
.travis_do.sh