kubo/bin/circle.sh
Jakub Sztandera f6d70ab541
circleci: separate script to a file
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00

15 lines
445 B
Bash
Executable File

#!/usr/bin/env bash
# the CircleCI build line got a bit out of hands
# thus we have sparate file for it
curl -s https://codecov.io/bash > codecov
case $CIRCLE_NODE_INDEX in
0) make -j 1 coverage/unit_tests.coverprofile &&
bash codecov -cF unittests -X search -f coverage/unit_tests.coverprofile
;;
1) make -j 1 coverage/sharness_tests.coverprofile &&
bash codecov -cF sharness -X search -f coverage/sharness_tests.coverprofile
;;
esac