Replace .travis.yml with a simple git pre-commit hook