File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ matrix:
55
55
- NOSE_ARGS="not slow and not network and not disabled"
56
56
- FULL_DEPS=true
57
57
- CLIPBOARD=xsel
58
- - LINT =true
58
+ - COVERAGE =true
59
59
- python : 2.7
60
60
env :
61
61
- JOB_NAME : " 27_slow"
@@ -73,7 +73,7 @@ matrix:
73
73
env :
74
74
- JOB_NAME : " 27_build_test_conda"
75
75
- JOB_TAG=_BUILD_TEST
76
- - NOSE_ARGS="not slow and not disabled --with-coverage "
76
+ - NOSE_ARGS="not slow and not disabled"
77
77
- FULL_DEPS=true
78
78
- BUILD_TEST=true
79
79
- python : 3.5
@@ -100,7 +100,7 @@ matrix:
100
100
env :
101
101
- JOB_NAME : " 27_slow"
102
102
- JOB_TAG=_SLOW
103
- - NOSE_ARGS="slow and not network and not disabled --with-coverage "
103
+ - NOSE_ARGS="slow and not network and not disabled"
104
104
- FULL_DEPS=true
105
105
- python : 3.4
106
106
env :
@@ -155,14 +155,17 @@ install:
155
155
- ci/submit_ccache.sh
156
156
157
157
before_script :
158
+ - source activate pandas && pip install codecov
158
159
- ci/install_db.sh
159
160
160
161
script :
161
162
- echo "script"
162
163
- ci/run_build_docs.sh
163
164
- ci/script.sh
164
165
- ci/lint.sh
165
- # nothing here, or failed tests won't fail travis
166
+
167
+ after_success :
168
+ - source activate pandas && codecov
166
169
167
170
after_script :
168
171
- ci/install_test.sh
Original file line number Diff line number Diff line change 19
19
20
20
if [ " $BUILD_TEST " ]; then
21
21
echo " We are not running nosetests as this is simply a build test."
22
+ elif [ " $COVERAGE " ]; then
23
+ echo nosetests --exe -A " $NOSE_ARGS " pandas --with-coverage --with-xunit --xunit-file=/tmp/nosetests.xml
24
+ nosetests --exe -A " $NOSE_ARGS " pandas --with-coverage --cover-package=pandas --cover-tests --with-xunit --xunit-file=/tmp/nosetests.xml
22
25
else
23
26
echo nosetests --exe -A " $NOSE_ARGS " pandas --doctest-tests --with-xunit --xunit-file=/tmp/nosetests.xml
24
27
nosetests --exe -A " $NOSE_ARGS " pandas --doctest-tests --with-xunit --xunit-file=/tmp/nosetests.xml
You can’t perform that action at this time.
0 commit comments