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: ...@@ -14,7 +14,7 @@ env:
matrix: matrix:
include: include:
- env: CXX=g++-5 CC=gcc-5 - env: CXX=g++-5 CC=gcc-5 GCOV=gcov-5
addons: addons:
apt: apt:
packages: packages:
...@@ -22,7 +22,7 @@ matrix: ...@@ -22,7 +22,7 @@ matrix:
sources: &sources sources: &sources
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8 - 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: addons:
apt: apt:
packages: packages:
...@@ -48,7 +48,6 @@ script: ...@@ -48,7 +48,6 @@ script:
- cmake .. && make - cmake .. && make
- ./test/boolinqtest - ./test/boolinqtest
- ./benchmark/boolinqbenchmark - ./benchmark/boolinqbenchmark
- cd ..
after_success: 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 ...@@ -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} -Wold-style-cast")
SET (TARGET boolinqtest CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage") SET (TARGET boolinqtest CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
SET (CMAKE_SHARED_LINKER_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) 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