File tree 3 files changed +19
-17
lines changed
3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -36,26 +36,26 @@ matrix:
36
36
- LOCALE_OVERRIDE="zh_CN.GB18030"
37
37
- FULL_DEPS=true
38
38
- JOB_TAG=_LOCALE
39
- - BUILD_TYPE=conda
40
39
- python : 2.7
41
40
env :
42
41
- JOB_NAME : " 27_nslow"
43
42
- NOSE_ARGS="not slow and not disabled"
44
43
- FULL_DEPS=true
45
44
- CLIPBOARD_GUI=gtk2
45
+ - LINT=true
46
46
- python : 3.4
47
47
env :
48
48
- JOB_NAME : " 34_nslow"
49
49
- NOSE_ARGS="not slow and not disabled"
50
50
- FULL_DEPS=true
51
51
- CLIPBOARD=xsel
52
- - BUILD_TYPE=conda
53
52
- python : 3.5
54
53
env :
55
54
- JOB_NAME : " 35_nslow"
56
55
- NOSE_ARGS="not slow and not network and not disabled"
57
56
- FULL_DEPS=true
58
57
- CLIPBOARD=xsel
58
+ - LINT=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"
76
+ - NOSE_ARGS="not slow and not disabled --with-coverage "
77
77
- FULL_DEPS=true
78
78
- BUILD_TEST=true
79
79
- python : 3.5
@@ -87,22 +87,20 @@ matrix:
87
87
- JOB_NAME : " 27_nslow_nnet_COMPAT"
88
88
- NOSE_ARGS="not slow and not network and not disabled"
89
89
- LOCALE_OVERRIDE="it_IT.UTF-8"
90
- - BUILD_TYPE=conda
91
90
- INSTALL_TEST=true
92
91
- JOB_TAG=_COMPAT
93
92
- python : 2.7
94
93
env :
95
94
- JOB_NAME : " doc_build"
96
95
- FULL_DEPS=true
97
- - BUILD_TYPE=conda
98
96
- DOC_BUILD=true # if rst files were changed, build docs in parallel with tests
99
97
- JOB_TAG=_DOC_BUILD
100
98
allow_failures :
101
99
- python : 2.7
102
100
env :
103
101
- JOB_NAME : " 27_slow"
104
102
- JOB_TAG=_SLOW
105
- - NOSE_ARGS="slow and not network and not disabled"
103
+ - NOSE_ARGS="slow and not network and not disabled --with-coverage "
106
104
- FULL_DEPS=true
107
105
- python : 3.4
108
106
env :
@@ -129,14 +127,12 @@ matrix:
129
127
- JOB_NAME : " 27_nslow_nnet_COMPAT"
130
128
- NOSE_ARGS="not slow and not network and not disabled"
131
129
- LOCALE_OVERRIDE="it_IT.UTF-8"
132
- - BUILD_TYPE=conda
133
130
- INSTALL_TEST=true
134
131
- JOB_TAG=_COMPAT
135
132
- python : 2.7
136
133
env :
137
134
- JOB_NAME : " doc_build"
138
135
- FULL_DEPS=true
139
- - BUILD_TYPE=conda
140
136
- DOC_BUILD=true
141
137
- JOB_TAG=_DOC_BUILD
142
138
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ conda info -a || exit 1
85
85
86
86
# build deps
87
87
REQ=" ci/requirements-${TRAVIS_PYTHON_VERSION}${JOB_TAG} .build"
88
- time conda create -n pandas python=$TRAVIS_PYTHON_VERSION nose flake8 || exit 1
88
+ time conda create -n pandas python=$TRAVIS_PYTHON_VERSION nose coverage flake8 || exit 1
89
89
90
90
# may have additional installation instructions for this build
91
91
INSTALL=" ci/install-${TRAVIS_PYTHON_VERSION}${JOB_TAG} .sh"
Original file line number Diff line number Diff line change @@ -5,13 +5,19 @@ echo "inside $0"
5
5
source activate pandas
6
6
7
7
RET=0
8
- for path in ' core' ' io' ' stats' ' compat' ' sparse' ' tools' ' tseries' ' tests' ' computation' ' util'
9
- do
10
- echo " linting -> pandas/$path "
11
- flake8 pandas/$path --filename ' *.py'
12
- if [ $? -ne " 0" ]; then
13
- RET=1
14
- fi
15
- done
8
+
9
+ if [ " $LINT " ]; then
10
+ echo " Linting"
11
+ for path in ' core' ' io' ' stats' ' compat' ' sparse' ' tools' ' tseries' ' tests' ' computation' ' util'
12
+ do
13
+ echo " linting -> pandas/$path "
14
+ flake8 pandas/$path --filename ' *.py'
15
+ if [ $? -ne " 0" ]; then
16
+ RET=1
17
+ fi
18
+ done
19
+ else
20
+ echo " NOT Linting"
21
+ fi
16
22
17
23
exit $RET
You can’t perform that action at this time.
0 commit comments