Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

Enable coverage statistics#1620

Merged
WalterBright merged 1 commit intodlang:masterfrom
wilzbach:master
Jul 31, 2016
Merged

Enable coverage statistics#1620
WalterBright merged 1 commit intodlang:masterfrom
wilzbach:master

Conversation

@wilzbach
Copy link
Contributor

@wilzbach wilzbach commented Jul 31, 2016

I copied the .travis.yml from Phobos over and kept the code style bits. For the simple style checks there exist regexes that can be applied in future work, see e.g. dlang/phobos#4385 and enabling Dscanner is also an open task (volunteers wanted!).

Other open tasks for future work:

  • coverage of the separate test files isn't included at the moment. While it is possible to set the coverage directory with dmd_coverDestPath, a global way to set the coverage destination dir is missing. Maybe we can add a CLI flag to DMD and modify the common.mak or has anyone a better idea?
  • coverage for 32-bit - can we simply run with -m32 on Travis?
  • coverage for more platforms (codecov-bash should be run on the AutoTester too)

edit: a preview of the coverage view can be found here

@codecov-io
Copy link

codecov-io commented Jul 31, 2016

Current coverage is 73.93% (diff: 100%)

No coverage report found for master at 51913a6.

Powered by Codecov. Last update 51913a6...afeeedf

@WalterBright
Copy link
Member

Auto-merge toggled on

@WalterBright WalterBright merged commit 2db9857 into dlang:master Jul 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants