Skip to content

Commit

Permalink
travis: use coveralls for test-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kusma committed Sep 20, 2016
1 parent eceec98 commit 1b72e20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ install:
- wget http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitARMupdate.pl &&
perl devkitARMupdate.pl
- export DEVKITPRO=$HOME/devkitPro
- pip install --user cpp-coveralls

script:
- make all examples &&
make check
- make all examples
- make check

after_success:
- coveralls --include src --gcov-options '\-lp'
2 changes: 1 addition & 1 deletion t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

CC = gcc
CPPFLAGS = -I.. -DUNIT_TESTING -DDEBUG
CFLAGS = -g
CFLAGS = -g -fprofile-arcs -ftest-coverage

ifdef COMSPEC
EXE_EXT=.exe
Expand Down

0 comments on commit 1b72e20

Please sign in to comment.