A crate to help you fetch and serve WebFinger resources
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
508 B

  1. #!/bin/bash
  2. wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
  3. tar xzf master.tar.gz &&
  4. mkdir -p kcov-master/build &&
  5. cd kcov-master/build &&
  6. cmake .. &&
  7. make &&
  8. sudo make install &&
  9. cd ../.. &&
  10. for file in target/debug/*-*[^\.d]; do
  11. if [[ -x "$file" ]]
  12. then
  13. filename=$(basename $file)
  14. mkdir -p "target/cov/$filename"
  15. kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$filename" "$file"
  16. fi
  17. done &&
  18. bash <(curl -s https://codecov.io/bash) &&
  19. echo "Uploaded code coverage"