Add checks in travis script to not build pull requests.