mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Work on better CI integration.
This commit is contained in:
parent
c782650f33
commit
7d89059b17
11
.travis.yml
11
.travis.yml
@ -71,16 +71,11 @@ script:
|
|||||||
if [ "${GHC_COVERAGE}" = "1" ]; then
|
if [ "${GHC_COVERAGE}" = "1" ]; then
|
||||||
cmake --build . --config ${CONFIG} --target filesystem_test
|
cmake --build . --config ${CONFIG} --target filesystem_test
|
||||||
test/filesystem_test
|
test/filesystem_test
|
||||||
|
lcov --compat-libtool --directory . --capture --output-file coverage_output.info
|
||||||
|
lcov --remove coverage_output.info '/usr/*' '*/c++/*' '*.h' '*/catch.hpp' -o coverage.info
|
||||||
|
coveralls-lcov coverage.info
|
||||||
else
|
else
|
||||||
cmake --build . --config ${CONFIG}
|
cmake --build . --config ${CONFIG}
|
||||||
ctest -C ${CONFIG} -E Windows
|
ctest -C ${CONFIG} -E Windows
|
||||||
fi
|
fi
|
||||||
|
|
||||||
after_success:
|
|
||||||
- |
|
|
||||||
if [ "${GHC_COVERAGE}" = "1" ]; then
|
|
||||||
lcov --compat-libtool --directory . --capture --output-file coverage_output.info
|
|
||||||
lcov --remove coverage_output.info '/usr/*' '*/c++/*' '*/catch.hpp' -o coverage.info
|
|
||||||
coveralls-lcov coverage.info
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user