mirror of
https://github.com/zhigang1992/UICKeyChainStore.git
synced 2026-01-12 22:53:17 +08:00
20 lines
425 B
Bash
Executable File
20 lines
425 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
if [[ -z "${CI}" ]]; then
|
|
exit 0
|
|
fi
|
|
|
|
COVERALLS_SCRIPT_PATH="${SRCROOT}/Script/coveralls.sh"
|
|
cat > "${COVERALLS_SCRIPT_PATH}" <<EOF
|
|
#!/bin/bash -e
|
|
|
|
cd "${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}"
|
|
for file in *.gcda; do
|
|
gcov "\${file}"
|
|
done
|
|
|
|
coveralls --root "${SRCROOT}/../" --extension ".m" -e "Lib/UICKeyChainStoreTests/" -e "Examples/" -e "Lib/vendor/" --no-gcov
|
|
EOF
|
|
|
|
chmod +x "${COVERALLS_SCRIPT_PATH}"
|