Travis actually sets the TRAVIS_PULL_REQUEST to pull request number and false if it is not.