Fixed compilation issue with non-installed csptr & excluded dependencies from coverage

This commit is contained in:
Snaipe 2015-02-06 02:58:55 +01:00
parent e24fdeb870
commit 3ac79db604
2 changed files with 3 additions and 2 deletions

View file

@ -10,6 +10,6 @@ before_install:
script:
- ./autogen.sh && ./configure --enable-gcov CFLAGS="-g -O0" && make && make check
after_success:
- coveralls --gcov gcov-4.9 --exclude samples --gcov-options '\-lp' -b .
- coveralls --gcov gcov-4.9 --exclude samples --exclude dependencies --gcov-options '\-lp' -b .
after_failure:
- cat $(find check -iname '*.log') /dev/null

View file

@ -8,9 +8,10 @@ WARNINGS = -Wall -Wextra \
libcriterion_la_CFLAGS = \
$(WARNINGS) \
-std=gnu11 \
-std=gnu99 \
-fplan9-extensions \
-I$(top_srcdir)/include/ \
-I$(top_srcdir)/dependencies/csptr/include/ \
$(COVERAGE_CFLAGS)
libcriterion_la_LDFLAGS = $(COVERAGE_LDFLAGS)