Commit 8e85b80f authored by Anton Bukov's avatar Anton Bukov

Merge pull request #18 from k06a/fix/coveralls

Configured Coveralls
parents 2069cd2b ef0b777f
......@@ -14,7 +14,7 @@ env:
matrix:
include:
- env: CXX=g++-5 CC=gcc-5
- env: CXX=g++-5 CC=gcc-5 GCOV=gcov-5
addons:
apt:
packages:
......@@ -22,7 +22,7 @@ matrix:
sources: &sources
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
- env: CXX=clang++-3.8 CC=clang-3.8
- env: CXX=clang++-3.8 CC=clang-3.8 GCOV=gcov
addons:
apt:
packages:
......@@ -48,7 +48,6 @@ script:
- cmake .. && make
- ./test/boolinqtest
- ./benchmark/boolinqbenchmark
- cd ..
after_success:
- coveralls --gcov-options '\-lp'
- coveralls --root .. --include include --gcov-options '\-lp' --gcov $GCOV --verbose
......@@ -10,6 +10,7 @@ SET (TARGET boolinqtest CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wcast-qual -Wpointe
SET (TARGET boolinqtest CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wold-style-cast")
SET (TARGET boolinqtest CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
SET (CMAKE_SHARED_LINKER_FLAGS "-fprofile-arcs -ftest-coverage")
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/include/boolinq)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment