Skip to content

Commit f923dde

Browse files
committed
Setup coverage with cpp-coveralls #2
1 parent 9a8c15e commit f923dde

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ pipe-child.lsp
2929
# guiserver
3030
*.class
3131

32+
# coveralls (gcov)
33+
*.gcov
34+
*.gcda
35+
*.gcno
36+
3237
# eclipse
3338
.settings
3439

.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ matrix:
2121
- sudo apt-get update -qq
2222
- sudo apt-get install -qq mingw32
2323

24+
before_install:
25+
- pip install --user cpp-coveralls
26+
2427
script:
25-
- make CC="$CC"
28+
- make CC="$CC --coverage"
2629
- file ./newlisp && ./newlisp -v
2730
- make testall
31+
32+
33+
after_success:
34+
- coveralls

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ newLISP mirror
22
==============
33

44
[![Build Status](https://travis-ci.org/kosh04/newlisp.svg?branch=develop)](https://travis-ci.org/kosh04/newlisp)
5+
[![Coverage Status](https://coveralls.io/repos/kosh04/newlisp/badge.svg?branch=feature%2Fcoveralls&service=github)](https://coveralls.io/github/kosh04/newlisp?branch=feature%2Fcoveralls)
56
[![Build status](https://ci.appveyor.com/api/projects/status/qg6ijtx867q5fxnl/branch/develop?svg=true)](https://ci.appveyor.com/project/kosh04/newlisp/branch/develop)
67
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/kosh04/newlisp)
78

0 commit comments

Comments
 (0)