pudb/upload_coverage.sh
2017-04-08 17:36:00 -05:00

12 lines
169 B
Bash

#!/bin/bash
if [ -z "$COVERAGE" ]; then
echo "coverage is not selected for this build"
exit 0
fi
echo "uploading coverage"
cd test
eval "codecov --token=$COVERAGE"