File tree 3 files changed +13
-5
lines changed
3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ install:
108
108
- echo "install done"
109
109
110
110
before_script :
111
- - source activate pandas && pip install codecov
112
111
- ci/install_db_travis.sh
113
112
114
113
script :
@@ -120,9 +119,7 @@ script:
120
119
- echo "script done"
121
120
122
121
after_success :
123
- - if [ "$COVERAGE" ]; then
124
- source activate pandas && codecov --file /tmp/cov-single.xml /tmp/cov-multiple.xml;
125
- fi
122
+ - ci/upload_coverage.sh
126
123
127
124
after_script :
128
125
- echo "after_script start"
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ if [ "$LINT" ]; then
115
115
fi
116
116
117
117
if [ " $COVERAGE " ]; then
118
- pip install coverage pytest-cov
118
+ pip install coverage pytest-cov codecov
119
119
fi
120
120
121
121
echo
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [ -z " $COVERAGE " ]; then
4
+ echo " no upload of coverage is needed"
5
+ exit 0
6
+ fi
7
+
8
+ source activate pandas
9
+
10
+ codecov --file -c -F single /tmp/cov-single.xml
11
+ codecov --file -c -F multiple /tmp/cov-multiple.xml
You can’t perform that action at this time.
0 commit comments