mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-06 09:49:56 +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:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
|
- clang
|
||||||
before_install:
|
before_install:
|
||||||
- sudo pip install cpp-coveralls --use-mirrors
|
- sudo pip install cpp-coveralls --use-mirrors
|
||||||
script:
|
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
|
||||||
- make test
|
- make test
|
||||||
- coverall -x hpp
|
- coveralls -x hpp
|
||||||
notifications:
|
notifications:
|
||||||
recipients:
|
recipients:
|
||||||
- jason@emptycrate.com
|
- jason@emptycrate.com
|
||||||
|
|||||||
@ -218,9 +218,9 @@ if(BUILD_TESTING)
|
|||||||
|
|
||||||
if (NOT UNIT_TEST_LIGHT)
|
if (NOT UNIT_TEST_LIGHT)
|
||||||
# commented out because uniform initializer syntax is not working properly in MSVC 2013
|
# commented out because uniform initializer syntax is not working properly in MSVC 2013
|
||||||
#add_executable(utility_test unittests/utility_test.cpp)
|
add_executable(utility_test unittests/utility_test.cpp)
|
||||||
#target_link_libraries(utility_test ${LIBS} ${EXTRA_LINKER_FLAGS})
|
target_link_libraries(utility_test ${LIBS} ${EXTRA_LINKER_FLAGS})
|
||||||
#add_test(NAME Utility_Test COMMAND utility_test)
|
add_test(NAME Utility_Test COMMAND utility_test)
|
||||||
|
|
||||||
add_executable(dynamic_object_test unittests/dynamic_object_test.cpp)
|
add_executable(dynamic_object_test unittests/dynamic_object_test.cpp)
|
||||||
target_link_libraries(dynamic_object_test ${LIBS} ${EXTRA_LINKER_FLAGS})
|
target_link_libraries(dynamic_object_test ${LIBS} ${EXTRA_LINKER_FLAGS})
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
[](https://travis-ci.org/ChaiScript/ChaiScript)
|
[](https://travis-ci.org/ChaiScript/ChaiScript)
|
||||||
|
[](https://coveralls.io/r/ChaiScript/ChaiScript?branch=ChaiScript_5_0_CPP_11)
|
||||||
|
|
||||||
ChaiScript
|
ChaiScript
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user