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
@@ -29,112 +39,194 @@ 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
92
157
- python : 2.7
93
158
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
159
+ - JOB_NAME : " doc_build"
160
+ - FULL_DEPS=true
161
+ - DOC_BUILD=true
162
+ - JOB_TAG=_DOC_BUILD
163
+ - CACHE_NAME="doc_build"
164
+ - USE_CACHE=true
98
165
allow_failures :
99
166
- python : 2.7
100
167
env :
101
168
- JOB_NAME : " 27_slow"
102
169
- JOB_TAG=_SLOW
103
170
- NOSE_ARGS="slow and not network and not disabled"
104
171
- FULL_DEPS=true
172
+ - CACHE_NAME="27_slow"
173
+ - USE_CACHE=true
105
174
- python : 3.4
106
175
env :
107
176
- JOB_NAME : " 34_slow"
108
177
- JOB_TAG=_SLOW
109
178
- NOSE_ARGS="slow and not network and not disabled"
110
179
- FULL_DEPS=true
111
180
- CLIPBOARD=xsel
181
+ - CACHE_NAME="34_slow"
182
+ - USE_CACHE=true
183
+ addons :
184
+ apt :
185
+ packages :
186
+ - xsel
112
187
- python : 2.7
113
188
env :
114
189
- JOB_NAME : " 27_build_test_conda"
115
190
- JOB_TAG=_BUILD_TEST
116
191
- NOSE_ARGS="not slow and not disabled"
117
192
- FULL_DEPS=true
118
193
- BUILD_TEST=true
194
+ - CACHE_NAME="27_build_test_conda"
195
+ - USE_CACHE=true
119
196
- python : 3.5
120
197
env :
121
198
- JOB_NAME : " 35_numpy_dev"
122
199
- JOB_TAG=_NUMPY_DEV
123
200
- NOSE_ARGS="not slow and not network and not disabled"
124
201
- PANDAS_TESTING_MODE="deprecate"
202
+ - CACHE_NAME="35_numpy_dev"
203
+ - USE_CACHE=true
204
+ addons :
205
+ apt :
206
+ packages :
207
+ - libatlas-base-dev
208
+ - gfortran
125
209
- python : 2.7
126
210
env :
127
211
- JOB_NAME : " 27_nslow_nnet_COMPAT"
128
212
- NOSE_ARGS="not slow and not network and not disabled"
129
213
- LOCALE_OVERRIDE="it_IT.UTF-8"
130
214
- INSTALL_TEST=true
131
215
- JOB_TAG=_COMPAT
216
+ - CACHE_NAME="27_nslow_nnet_COMPAT"
217
+ - USE_CACHE=true
218
+ addons :
219
+ apt :
220
+ packages :
221
+ - language-pack-it
132
222
- python : 2.7
133
223
env :
134
224
- JOB_NAME : " doc_build"
135
225
- FULL_DEPS=true
136
226
- DOC_BUILD=true
137
227
- JOB_TAG=_DOC_BUILD
228
+ - CACHE_NAME="doc_build"
229
+ - USE_CACHE=true
138
230
139
231
before_install :
140
232
- echo "before_install"
@@ -153,9 +245,10 @@ before_install:
153
245
154
246
install :
155
247
- echo "install start"
156
- - ci/prep_ccache.sh
248
+ - ci/check_cache.sh
249
+ - ci/prep_cython_cache.sh
157
250
- ci/install_travis.sh
158
- - ci/submit_ccache .sh
251
+ - ci/submit_cython_cache .sh
159
252
- echo "install done"
160
253
161
254
before_script :
@@ -175,6 +268,6 @@ after_success:
175
268
after_script :
176
269
- echo "after_script start"
177
270
- ci/install_test.sh
178
- - source activate pandas && ci/print_versions.py
271
+ - source activate pandas && python -c "import pandas; pandas.show_versions();"
179
272
- ci/print_skipped.py /tmp/nosetests.xml
180
273
- echo "after_script done"
0 commit comments