X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=.cirrus.yml;h=1562dc36b30a1d8364d91b7fc9a35c61b484cd2d;hb=307257e9afb0c61cc0a45a62bb39dbaff290c770;hp=d4a7d4b1a253ce0c016ca1e0265322708935c298;hpb=8c9ab94b5b46ce0c78530701c6e0539f181fecdb;p=awesomized%2Flibmemcached diff --git a/.cirrus.yml b/.cirrus.yml index d4a7d4b1..1562dc36 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -38,9 +38,9 @@ task: prepare_script: | mkdir build chown nobody build - chsh -s /bin/sh nobody + pw user mod nobody -s /bin/sh -d $(pwd)/build configure_script: | - sudo -E -u nobody cmake -S . -B build + sudo -E -u nobody CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage" cmake -S . -B build build_script: | sudo -E -u nobody make -C build -j2 all test_script: | @@ -48,6 +48,8 @@ task: install_script: | sudo -E -u nobody make -C build install DESTDIR=/tmp on_success: + codecov_script: | + bash <(curl -s https://codecov.io/bash) -x "llvm-cov gcov" gitter_success_script: | curl -sS "${gitter}" \ --data-urlencode "level=info" \