List files modified in a pull request within Travis
<p>I would like to list all the files modified in a pull request while on travis.</p>

<p>I tried <code>$(git diff --name-only $TRAVIS_PULL_REQUEST_BRANCH $(git merge-base $TRAVIS_PULL_REQUEST_BRANCH master))</code> but git doesn't know about  TRAVIS_PULL_REQUEST_BRANCH since it's on a forked repo.</p>

<p>I also gave it a try with <code>git rev-list</code> and $TRAVIS_COMMIT_RANGE but it includes also the new commits on the master branch.</p>

<p>Any idea how to get the files that are modified exclusively by the PR?</p>