36
36
- secure : RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
37
37
- secure : E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
38
38
- secure : " dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU="
39
- - BUILD_DOCS=false
40
39
- NUMPY=numpy
41
40
- OPENBLAS_NUM_THREADS=1
42
41
- PANDAS=
@@ -52,12 +51,8 @@ matrix:
52
51
include :
53
52
- python : 2.7
54
53
env : MOCK=mock NUMPY=numpy==1.7.1 PANDAS=pandas NOSE=nose
55
- - python : 2.7
56
- env : NUMPY=numpy==1.7.1 BUILD_DOCS=true
57
54
- python : 3.4
58
55
env : PYTHON_ARGS=-OO
59
- - python : 3.5
60
- env : BUILD_DOCS=true
61
56
- python : 3.6
62
57
env : DELETE_FONT_CACHE=1 INSTALL_PEP8=pytest-pep8 RUN_PEP8=--pep8 PANDAS=pandas
63
58
- python : " nightly"
@@ -139,10 +134,6 @@ install:
139
134
echo 'wxPython is available' ||
140
135
echo 'wxPython is not available'
141
136
142
- if [[ $BUILD_DOCS == true ]]; then
143
- pip install $PRE -r doc-requirements.txt
144
- fi
145
-
146
137
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
147
138
pip install $PRE \
148
139
pytest \
@@ -153,24 +144,8 @@ install:
153
144
pytest-xdist \
154
145
$INSTALL_PEP8
155
146
156
- # We manually install humor sans using the package from Ubuntu 14.10.
157
- # Unfortunatly humor sans is not availible in the Ubuntu version used by
158
- # Travis but we can manually install the deb from a later version since is
159
- # it basically just a .ttf file. The current Travis Ubuntu image is to old
160
- # to search .local/share/fonts so we store fonts in .fonts
161
- if [[ $BUILD_DOCS == true ]]; then
162
- wget https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true -O Felipa-Regular.ttf
163
- wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb
164
- mkdir -p tmp
165
- mkdir -p ~/.fonts
166
- dpkg -x fonts-humor-sans_1.0-1_all.deb tmp
167
- cp tmp/usr/share/fonts/truetype/humor-sans/Humor-Sans.ttf ~/.fonts
168
- cp Felipa-Regular.ttf ~/.fonts
169
- fc-cache -f -v
170
- else
171
- # Use the special local version of freetype for testing
172
- cp ci/travis/setup.cfg .
173
- fi;
147
+ # Use the special local version of freetype for testing
148
+ cp ci/travis/setup.cfg .
174
149
- |
175
150
# Install matplotlib
176
151
pip install -ve .
@@ -190,7 +165,7 @@ before_cache:
190
165
191
166
after_failure :
192
167
- |
193
- if [[ $BUILD_DOCS == false && $ TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' ]]; then
168
+ if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' ]]; then
194
169
gem install travis-artifacts
195
170
cd $TRAVIS_BUILD_DIR/../tmp_test_dir
196
171
tar cjf result_images.tar.bz2 result_images
@@ -201,31 +176,4 @@ after_failure:
201
176
fi
202
177
203
178
after_success :
204
- - |
205
- if [[ $BUILD_DOCS == false ]]; then
206
- codecov -e TRAVIS_PYTHON_VERSION
207
- fi
208
- - |
209
- if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' && $BUILD_DOCS == true && $TRAVIS_PYTHON_VERSION == "3.5" && $TRAVIS_BRANCH == 'master' ]]; then
210
- cd $TRAVIS_BUILD_DIR
211
- echo "Uploading documentation"
212
- openssl aes-256-cbc -K $encrypted_cc802e084cd0_key -iv $encrypted_cc802e084cd0_iv -in ci/travis/matplotlibDeployKey.enc -out ci/travis/matplotlibDeployKey -d
213
- eval `ssh-agent -s`
214
- chmod 600 ci/travis/matplotlibDeployKey
215
- ssh-add ci/travis/matplotlibDeployKey
216
- cd ..
217
- git clone git@github.com:matplotlib/devdocs.git
218
- cd devdocs
219
- git checkout --orphan gh-pages
220
- git reset --hard first_commit
221
- cp -R ../matplotlib/doc/build/html/. .
E7F5
span>
222
- touch .nojekyll
223
- git config --global user.email "MatplotlibTravisBot@nomail"
224
- git config --global user.name "MatplotlibTravisBot"
225
- git config --global push.default simple
226
- git add .
227
- git commit -m "Docs build of $TRAVIS_COMMIT"
228
- git push --set-upstream origin gh-pages --force
229
- else
230
- echo "Will only deploy docs build from matplotlib master branch"
231
- fi
179
+ - codecov -e TRAVIS_PYTHON_VERSION
0 commit comments