update .travis.yml and test pull request hook