Add coverage testing hook for Travis CI.