mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
Add badge display for coveralls status, update travis
This commit is contained in:
parent
4dbe9df21e
commit
782c3040cc
@ -1,13 +1,14 @@
|
||||
language: cpp clang
|
||||
language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
before_install:
|
||||
- sudo pip install cpp-coveralls --use-mirrors
|
||||
script:
|
||||
- cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug -D UNIT_TEST_LIGHT:BOOL=TRUE -D USE_LIBCXX:BOOL=FALSE .
|
||||
- cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug -D USE_LIBCXX:BOOL=FALSE .
|
||||
- make
|
||||
- make test
|
||||
- coverall -x hpp
|
||||
- coveralls -x hpp
|
||||
notifications:
|
||||
recipients:
|
||||
- jason@emptycrate.com
|
||||
|
||||
@ -218,9 +218,9 @@ if(BUILD_TESTING)
|
||||
|
||||
if (NOT UNIT_TEST_LIGHT)
|
||||
# commented out because uniform initializer syntax is not working properly in MSVC 2013
|
||||
#add_executable(utility_test unittests/utility_test.cpp)
|
||||
#target_link_libraries(utility_test ${LIBS} ${EXTRA_LINKER_FLAGS})
|
||||
#add_test(NAME Utility_Test COMMAND utility_test)
|
||||
add_executable(utility_test unittests/utility_test.cpp)
|
||||
target_link_libraries(utility_test ${LIBS} ${EXTRA_LINKER_FLAGS})
|
||||
add_test(NAME Utility_Test COMMAND utility_test)
|
||||
|
||||
add_executable(dynamic_object_test unittests/dynamic_object_test.cpp)
|
||||
target_link_libraries(dynamic_object_test ${LIBS} ${EXTRA_LINKER_FLAGS})
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
[](https://travis-ci.org/ChaiScript/ChaiScript)
|
||||
[](https://coveralls.io/r/ChaiScript/ChaiScript?branch=ChaiScript_5_0_CPP_11)
|
||||
|
||||
ChaiScript
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user