Fixes build to report correctly to coveralls.io
Merge pull request #503 from mgreter/feature/coveralls-metrics

Fixes build to report correctly to coveralls.io