1-
1+ sudo : false
22language : python
33
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
514
15+ env :
616 global :
717 # scatterci API key
818 # - secure: "Bx5umgo6WjuGY+5XFa004xjCiX/vq0CyMZ/ETzcs7EIBI1BE/0fIDXOoWhoxbY9HPfdPGlDnDgB9nGqr5wArO2s+BavyKBWg6osZ3dmkfuJPMOWeyCa92EeP+sfKw8e5HSU5MizW9e319wHWOF/xkzdHR7T67Qd5erhv91x4DnQ="
919 # 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="
1222 # pandas-docs-bot GH
1323 - secure : " PCzUFR8CHmw9lH84p4ygnojdF7Z8U5h7YfY0RyT+5K/aiQ1ZTU3ZkDTPI0/rR5FVMxsEEKEQKMcc5fvqW0PeD7Q2wRmluloKgT9w4EVEJ1ppKf7lITPcvZR2QgVOvjv4AfDtibLHFNiaSjzoqyJVjM4igjOu8WTlF3JfZcmOQjQ="
1424
1525git :
1626 # for cloning
17- depth : 300
27+ depth : 1000
1828
1929matrix :
2030 fast_finish : true
@@ -29,115 +39,215 @@ matrix:
2939 - BUILD_TYPE=conda
3040 - JOB_TAG=_OSX
3141 - TRAVIS_PYTHON_VERSION=3.5
42+ - CACHE_NAME="35_osx"
43+ - USE_CACHE=true
3244 - python : 2.7
3345 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
3957 - python : 2.7
4058 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
4670 - python : 3.4
4771 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
5282 - python : 3.5
5383 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
5996 - python : 2.7
6097 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
65105 - python : 3.4
66106 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
72119 - python : 2.7
73120 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
79129 - python : 3.5
80130 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
85143 - python : 2.7
86144 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
92166 - python : 2.7
93167 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
98174 allow_failures :
99175 - python : 2.7
100176 env :
101177 - JOB_NAME : " 27_slow"
102178 - JOB_TAG=_SLOW
103179 - NOSE_ARGS="slow and not network and not disabled"
104180 - FULL_DEPS=true
181+ - CACHE_NAME="27_slow"
182+ - USE_CACHE=true
105183 - python : 3.4
106184 env :
107185 - JOB_NAME : " 34_slow"
108186 - JOB_TAG=_SLOW
109187 - NOSE_ARGS="slow and not network and not disabled"
110188 - FULL_DEPS=true
111189 - CLIPBOARD=xsel
190+ - CACHE_NAME="34_slow"
191+ - USE_CACHE=true
192+ addons :
193+ apt :
194+ packages :
195+ - xsel
112196 - python : 2.7
113197 env :
114198 - JOB_NAME : " 27_build_test_conda"
115199 - JOB_TAG=_BUILD_TEST
116200 - NOSE_ARGS="not slow and not disabled"
117201 - FULL_DEPS=true
118202 - BUILD_TEST=true
203+ - CACHE_NAME="27_build_test_conda"
204+ - USE_CACHE=true
119205 - python : 3.5
120206 env :
121207 - JOB_NAME : " 35_numpy_dev"
122208 - JOB_TAG=_NUMPY_DEV
123209 - NOSE_ARGS="not slow and not network and not disabled"
124210 - 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
125218 - python : 2.7
126219 env :
127220 - JOB_NAME : " 27_nslow_nnet_COMPAT"
128221 - NOSE_ARGS="not slow and not network and not disabled"
129222 - LOCALE_OVERRIDE="it_IT.UTF-8"
130223 - INSTALL_TEST=true
131224 - 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
132239 - python : 2.7
133240 env :
134241 - JOB_NAME : " doc_build"
135242 - FULL_DEPS=true
136243 - DOC_BUILD=true
137244 - JOB_TAG=_DOC_BUILD
245+ - CACHE_NAME="doc_build"
246+ - USE_CACHE=true
138247
139248before_install :
140249 - echo "before_install"
250+ - source ci/travis_process_gbq_encryption.sh
141251 - echo $VIRTUAL_ENV
142252 - export PATH="$HOME/miniconda/bin:$PATH"
143253 - df -h
@@ -153,9 +263,10 @@ before_install:
153263
154264install :
155265 - echo "install start"
156- - ci/prep_ccache.sh
266+ - ci/check_cache.sh
267+ - ci/prep_cython_cache.sh
157268 - ci/install_travis.sh
158- - ci/submit_ccache .sh
269+ - ci/submit_cython_cache .sh
159270 - echo "install done"
160271
161272before_script :
@@ -175,6 +286,6 @@ after_success:
175286after_script :
176287 - echo "after_script start"
177288 - ci/install_test.sh
178- - source activate pandas && ci/print_versions.py
289+ - source activate pandas && python -c "import pandas; pandas.show_versions();"
179290 - ci/print_skipped.py /tmp/nosetests.xml
180291 - echo "after_script done"
0 commit comments