File: upload_coverage.sh

package info (click to toggle)
pandas 0.23.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 167,704 kB
  • sloc: python: 230,826; ansic: 11,317; sh: 682; makefile: 133
file content (12 lines) | stat: -rwxr-xr-x 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [ -z "$COVERAGE" ]; then
   echo "coverage is not selected for this build"
   exit 0
fi

source activate pandas

echo "uploading coverage"
bash <(curl -s https://codecov.io/bash) -Z -c -F single -f /tmp/cov-single.xml
bash <(curl -s https://codecov.io/bash) -Z -c -F multiple -f /tmp/cov-multiple.xml