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.
 
 
 
 
 

19 lines
256 B

#!/bin/bash -xe
buildDir=$1
token=$2
which git
if [ -z "$buildDir" ]; then
echo "buildDir is empty"
exit 1
fi
if [ -z "$token" ]; then
echo "token arg is empty"
exit 2
fi
bash <(curl -s https://codecov.io/bash) -s $buildDir -t $token