set up git user and move test::trap into .travis.yml