TRAVIS_PULL_REQUEST is false is commit is not a pull request! Check for that instead.