Use coverage on travis-ci

Add coverage reporting on travis-ci builds and minor cleanup of the travis.yml configuration.