updating Rakefile to check for TRAVIS_PULL_REQUEST