Fixed boolean check of pull request state in travis.