Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Balazs Nadasdi
committed
Jan 16, 2017
1 parent
e8340ca
commit a52026a
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
[![Build Status](https://travis-ci.org/Yitsushi/cpp-commander.svg?branch=master)](https://travis-ci.org/Yitsushi/cpp-commander) | ||
|
||
[![Coverage Status](https://coveralls.io/repos/github/Yitsushi/cpp-commander/badge.svg?branch=master)](https://coveralls.io/github/Yitsushi/cpp-commander?branch=master) | ||
|
||
# Testing | ||
|
||
``` | ||
$ cmake . && cmake --build . && ctest | ||
``` | ||
|
||
If you want an awesome coverage report, you have to enable it while calling `cmake`. | ||
|
||
``` | ||
$ cmake -DCMAKE_BUILD_TYPE=Debug -DWITHCOVERAGE=1 . && \ | ||
cmake --build . && \ | ||
make coverage | ||
``` | ||
|
||
# Example | ||
|
||
Check `examples` directory. |