1
-
1
+ sudo : false
2
2
language : python
3
3
4
- env :
4
+ # To turn off cached miniconda, cython files and compiler cache comment out the
5
+ # USE_CACHE=true line for the build in the matrix below. To delete caches go to
6
+ # https://travis-ci.org/OWNER/REPOSITORY/caches or run
7
+ # travis cache --delete inside the project directory from the travis command line client
8
+ # The cash directories will be deleted if anything in ci/ changes in a commit
9
+ cache :
10
+ directories :
11
+ - $HOME/miniconda # miniconda cache
12
+ - $HOME/.cache # cython cache
13
+ - $HOME/.ccache # compiler cache
5
14
15
+ env :
6
16
global :
7
17
# scatterci API key
8
18
# - secure: "Bx5umgo6WjuGY+5XFa004xjCiX/vq0CyMZ/ETzcs7EIBI1BE/0fIDXOoWhoxbY9HPfdPGlDnDgB9nGqr5wArO2s+BavyKBWg6osZ3dmkfuJPMOWeyCa92EeP+sfKw8e5HSU5MizW9e319wHWOF/xkzdHR7T67Qd5erhv91x4DnQ="
9
19
# ironcache API key
10
- - secure : " e4eEFn9nDQc3Xa5BWYkzfX37jaWVq89XidVX+rcCNEr5OlOImvveeXnF1IzbRXznH4Sv0YsLwUd8RGUWOmyCvkONq/VJeqCHWtTMyfaCIdqSyhIP9Odz8r9ahch+Y0XFepBey92AJHmlnTh+2GjCDgIiqq4fzglojnp56Vg1ojA="
11
- - secure : " CjmYmY5qEu3KrvMtel6zWFEtMq8ORBeS1S1odJHnjQpbwT1KY2YFZRVlLphfyDQXSz6svKUdeRrCNp65baBzs3DQNA8lIuXGIBYFeJxqVGtYAZZs6+TzBPfJJK798sGOj5RshrOJkFG2rdlWNuTq/XphI0JOrN3nPUkRrdQRpAw="
20
+ # - secure: "e4eEFn9nDQc3Xa5BWYkzfX37jaWVq89XidVX+rcCNEr5OlOImvveeXnF1IzbRXznH4Sv0YsLwUd8RGUWOmyCvkONq/VJeqCHWtTMyfaCIdqSyhIP9Odz8r9ahch+Y0XFepBey92AJHmlnTh+2GjCDgIiqq4fzglojnp56Vg1ojA="
21
+ # - secure: "CjmYmY5qEu3KrvMtel6zWFEtMq8ORBeS1S1odJHnjQpbwT1KY2YFZRVlLphfyDQXSz6svKUdeRrCNp65baBzs3DQNA8lIuXGIBYFeJxqVGtYAZZs6+TzBPfJJK798sGOj5RshrOJkFG2rdlWNuTq/XphI0JOrN3nPUkRrdQRpAw="
12
22
# pandas-docs-bot GH
13
23
- secure : " PCzUFR8CHmw9lH84p4ygnojdF7Z8U5h7YfY0RyT+5K/aiQ1ZTU3ZkDTPI0/rR5FVMxsEEKEQKMcc5fvqW0PeD7Q2wRmluloKgT9w4EVEJ1ppKf7lITPcvZR2QgVOvjv4AfDtibLHFNiaSjzoqyJVjM4igjOu8WTlF3JfZcmOQjQ="
14
24
15
25
git :
16
26
# for cloning
17
- depth : 300
27
+ depth : 1000
18
28
19
29
matrix :
20
30
fast_finish : true
@@ -29,115 +39,215 @@ matrix:
29
39
- BUILD_TYPE=conda
30
40
- JOB_TAG=_OSX
31
41
- TRAVIS_PYTHON_VERSION=3.5
42
+ - CACHE_NAME="35_osx"
43
+ - USE_CACHE=true
32
44
- python : 2.7
33
45
env :
34
- - JOB_NAME : " 27_slow_nnet_LOCALE"
35
- - NOSE_ARGS="slow and not network and not disabled"
36
- - LOCALE_OVERRIDE="zh_CN.GB18030"
37
- - FULL_DEPS=true
38
- - JOB_TAG=_LOCALE
46
+ - JOB_NAME : " 27_slow_nnet_LOCALE"
47
+ - NOSE_ARGS="slow and not network and not disabled"
48
+ - LOCALE_OVERRIDE="zh_CN.UTF-8"
49
+ - FULL_DEPS=true
50
+ - JOB_TAG=_LOCALE
51
+ - CACHE_NAME="27_slow_nnet_LOCALE"
52
+ - USE_CACHE=true
53
+ addons :
54
+ apt :
55
+ packages :
56
+ - language-pack-zh-hans
39
57
- python : 2.7
40
58
env :
41
- - JOB_NAME : " 27_nslow"
42
- - NOSE_ARGS="not slow and not disabled"
43
- - FULL_DEPS=true
44
- - CLIPBOARD_GUI=gtk2
45
- - LINT=true
59
+ - JOB_NAME : " 27_nslow"
60
+ - NOSE_ARGS="not slow and not disabled"
61
+ - FULL_DEPS=true
62
+ - CLIPBOARD_GUI=gtk2
63
+ - LINT=true
64
+ - CACHE_NAME="27_nslow"
65
+ - USE_CACHE=true
66
+ addons :
67
+ apt :
68
+ packages :
69
+ - python-gtk2
46
70
- python : 3.4
47
71
env :
48
- - JOB_NAME : " 34_nslow"
49
- - NOSE_ARGS="not slow and not disabled"
50
- - FULL_DEPS=true
51
- - CLIPBOARD=xsel
72
+ - JOB_NAME : " 34_nslow"
73
+ - NOSE_ARGS="not slow and not disabled"
74
+ - FULL_DEPS=true
75
+ - CLIPBOARD=xsel
76
+ - CACHE_NAME="34_nslow"
77
+ - USE_CACHE=true
78
+ addons :
79
+ apt :
80
+ packages :
81
+ - xsel
52
82
- python : 3.5
53
83
env :
54
- - JOB_NAME : " 35_nslow"
55
- - NOSE_ARGS="not slow and not network and not disabled"
56
- - FULL_DEPS=true
57
- - CLIPBOARD=xsel
58
- - COVERAGE=true
84
+ - JOB_NAME : " 35_nslow"
85
+ - NOSE_ARGS="not slow and not network and not disabled"
86
+ - FULL_DEPS=true
87
+ - CLIPBOARD=xsel
88
+ - COVERAGE=true
89
+ - CACHE_NAME="35_nslow"
90
+ # - USE_CACHE=true # Don't use cache for 35_nslow
91
+ addons :
92
+ apt :
93
+ packages :
94
+ - xsel
95
+ # In allow_failures
59
96
- python : 2.7
60
97
env :
61
- - JOB_NAME : " 27_slow"
62
- - JOB_TAG=_SLOW
63
- - NOSE_ARGS="slow and not network and not disabled"
64
- - FULL_DEPS=true
98
+ - JOB_NAME : " 27_slow"
99
+ - JOB_TAG=_SLOW
100
+ - NOSE_ARGS="slow and not network and not disabled"
101
+ - FULL_DEPS=true
102
+ - CACHE_NAME="27_slow"
103
+ - USE_CACHE=true
104
+ # In allow_failures
65
105
- python : 3.4
66
106
env :
67
- - JOB_NAME : " 34_slow"
68
- - JOB_TAG=_SLOW
69
- - NOSE_ARGS="slow and not network and not disabled"
70
- - FULL_DEPS=true
71
- - CLIPBOARD=xsel
107
+ - JOB_NAME : " 34_slow"
108
+ - JOB_TAG=_SLOW
109
+ - NOSE_ARGS="slow and not network and not disabled"
110
+ - FULL_DEPS=true
111
+ - CLIPBOARD=xsel
112
+ - CACHE_NAME="34_slow"
113
+ - USE_CACHE=true
114
+ addons :
115
+ apt :
116
+ packages :
117
+ - xsel
118
+ # In allow_failures
72
119
- python : 2.7
73
120
env :
74
- - JOB_NAME : " 27_build_test_conda"
75
- - JOB_TAG=_BUILD_TEST
76
- - NOSE_ARGS="not slow and not disabled"
77
- - FULL_DEPS=true
78
- - BUILD_TEST=true
121
+ - JOB_NAME : " 27_build_test_conda"
122
+ - JOB_TAG=_BUILD_TEST
123
+ - NOSE_ARGS="not slow and not disabled"
124
+ - FULL_DEPS=true
125
+ - BUILD_TEST=true
126
+ - CACHE_NAME="27_build_test_conda"
127
+ - USE_CACHE=true
128
+ # In allow_failures
79
129
- python : 3.5
80
130
env :
81
- - JOB_NAME : " 35_numpy_dev"
82
- - JOB_TAG=_NUMPY_DEV
83
- - NOSE_ARGS="not slow and not network and not disabled"
84
- - PANDAS_TESTING_MODE="deprecate"
131
+ - JOB_NAME : " 35_numpy_dev"
132
+ - JOB_TAG=_NUMPY_DEV
133
+ - NOSE_ARGS="not slow and not network and not disabled"
134
+ - PANDAS_TESTING_MODE="deprecate"
135
+ - CACHE_NAME="35_numpy_dev"
136
+ - USE_CACHE=true
137
+ addons :
138
+ apt :
139
+ packages :
140
+ - libatlas-base-dev
141
+ - gfortran
142
+ # In allow_failures
85
143
- python : 2.7
86
144
env :
87
- - JOB_NAME : " 27_nslow_nnet_COMPAT"
88
- - NOSE_ARGS="not slow and not network and not disabled"
89
- - LOCALE_OVERRIDE="it_IT.UTF-8"
90
- - INSTALL_TEST=true
91
- - JOB_TAG=_COMPAT
145
+ - JOB_NAME : " 27_nslow_nnet_COMPAT"
146
+ - NOSE_ARGS="not slow and not network and not disabled"
147
+ - LOCALE_OVERRIDE="it_IT.UTF-8"
148
+ - INSTALL_TEST=true
149
+ - JOB_TAG=_COMPAT
150
+ - CACHE_NAME="27_nslow_nnet_COMPAT"
151
+ - USE_CACHE=true
152
+ addons :
153
+ apt :
154
+ packages :
155
+ - language-pack-it
156
+ # In allow_failures
157
+ - python : 3.5
158
+ env :
159
+ - JOB_NAME : " 35_ascii"
160
+ - JOB_TAG=_ASCII
161
+ - NOSE_ARGS="not slow and not network and not disabled"
162
+ - LOCALE_OVERRIDE="C"
163
+ - CACHE_NAME="35_ascii"
164
+ - USE_CACHE=true
165
+ # In allow_failures
92
166
- python : 2.7
93
167
env :
94
- - JOB_NAME : " doc_build"
95
- - FULL_DEPS=true
96
- - DOC_BUILD=true # if rst files were changed, build docs in parallel with tests
97
- - JOB_TAG=_DOC_BUILD
168
+ - JOB_NAME : " doc_build"
169
+ - FULL_DEPS=true
170
+ - DOC_BUILD=true
171
+ - JOB_TAG=_DOC_BUILD
172
+ - CACHE_NAME="doc_build"
173
+ - USE_CACHE=true
98
174
allow_failures :
99
175
- python : 2.7
100
176
env :
101
177
- JOB_NAME : " 27_slow"
102
178
- JOB_TAG=_SLOW
103
179
- NOSE_ARGS="slow and not network and not disabled"
104
180
- FULL_DEPS=true
181
+ - CACHE_NAME="27_slow"
182
+ - USE_CACHE=true
105
183
- python : 3.4
106
184
env :
107
185
- JOB_NAME : " 34_slow"
108
186
- JOB_TAG=_SLOW
109
187
- NOSE_ARGS="slow and not network and not disabled"
110
188
- FULL_DEPS=true
111
189
- CLIPBOARD=xsel
190
+ - CACHE_NAME="34_slow"
191
+ - USE_CACHE=true
192
+ addons :
193
+ apt :
194
+ packages :
195
+ - xsel
112
196
- python : 2.7
113
197
env :
114
198
- JOB_NAME : " 27_build_test_conda"
115
199
- JOB_TAG=_BUILD_TEST
116
200
- NOSE_ARGS="not slow and not disabled"
117
201
- FULL_DEPS=true
118
202
- BUILD_TEST=true
203
+ - CACHE_NAME="27_build_test_conda"
204
+ - USE_CACHE=true
119
205
- python : 3.5
120
206
env :
121
207
- JOB_NAME : " 35_numpy_dev"
122
208
- JOB_TAG=_NUMPY_DEV
123
209
- NOSE_ARGS="not slow and not network and not disabled"
124
210
- PANDAS_TESTING_MODE="deprecate"
211
+ - CACHE_NAME="35_numpy_dev"
212
+ - USE_CACHE=true
213
+ addons :
214
+ apt :
215
+ packages :
216
+ - libatlas-base-dev
217
+ - gfortran
125
218
- python : 2.7
126
219
env :
127
220
- JOB_NAME : " 27_nslow_nnet_COMPAT"
128
221
- NOSE_ARGS="not slow and not network and not disabled"
129
222
- LOCALE_OVERRIDE="it_IT.UTF-8"
130
223
- INSTALL_TEST=true
131
224
- JOB_TAG=_COMPAT
225
+ - CACHE_NAME="27_nslow_nnet_COMPAT"
226
+ - USE_CACHE=true
227
+ addons :
228
+ apt :
229
+ packages :
230
+ - language-pack-it
231
+ - python : 3.5
232
+ env :
233
+ - JOB_NAME : " 35_ascii"
234
+ - JOB_TAG=_ASCII
235
+ - NOSE_ARGS="not slow and not network and not disabled"
236
+ - LOCALE_OVERRIDE="C"
237
+ - CACHE_NAME="35_ascii"
238
+ - USE_CACHE=true
132
239
- python : 2.7
133
240
env :
134
241
- JOB_NAME : " doc_build"
135
242
- FULL_DEPS=true
136
243
- DOC_BUILD=true
137
244
- JOB_TAG=_DOC_BUILD
245
+ - CACHE_NAME="doc_build"
246
+ - USE_CACHE=true
138
247
139
248
before_install :
140
249
- echo "before_install"
250
+ - source ci/travis_process_gbq_encryption.sh
141
251
- echo $VIRTUAL_ENV
142
252
- export PATH="$HOME/miniconda/bin:$PATH"
143
253
- df -h
@@ -153,9 +263,10 @@ before_install:
153
263
154
264
install :
155
265
- echo "install start"
156
- - ci/prep_ccache.sh
266
+ - ci/check_cache.sh
267
+ - ci/prep_cython_cache.sh
157
268
- ci/install_travis.sh
158
- - ci/submit_ccache .sh
269
+ - ci/submit_cython_cache .sh
159
270
- echo "install done"
160
271
161
272
before_script :
@@ -175,6 +286,6 @@ after_success:
175
286
after_script :
176
287
- echo "after_script start"
177
288
- ci/install_test.sh
178
- - source activate pandas && ci/print_versions.py
289
+ - source activate pandas && python -c "import pandas; pandas.show_versions();"
179
290
- ci/print_skipped.py /tmp/nosetests.xml
180
291
- echo "after_script done"
0 commit comments