Adapt Travis tasks to recognize when it gets a Pull Request