Skip to content

Commit abf1697

Browse files
committed
CI: reconfig coverage uploading
1 parent f3e3cfe commit abf1697

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ci/install_travis.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ if [ "$LINT" ]; then
115115
fi
116116

117117
if [ "$COVERAGE" ]; then
118-
pip install coverage pytest-cov codecov
118+
pip install coverage pytest-cov
119119
fi
120120

121121
echo

ci/upload_coverage.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/bin/bash
22

33
if [ -z "$COVERAGE" ]; then
4-
echo "no upload of coverage is needed"
4+
echo "coverage is not selected for this build"
55
exit 0
66
fi
77

88
source activate pandas
99

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

0 commit comments

Comments
 (0)