From a984380a76c1c740759b7100cb61504d29b085bf Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Wed, 28 Oct 2015 10:33:29 -0400 Subject: [PATCH 1/2] Build docs on Python 3.5 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 290c0d32b0bd..d80d86b30ef9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,8 +47,8 @@ matrix: env: PANDAS=pandas NOSE_ARGS=--with-coverage - python: 3.5 env: TEST_ARGS=--pep8 - - python: 2.7 - env: BUILD_DOCS=true MOCK=mock + - python: 3.5 + env: BUILD_DOCS=true - python: "nightly" env: PRE=--pre allow_failures: From 5edf56ffdabfb54593c8aa8eb1fe546481ba4ce0 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Tue, 5 Jan 2016 09:32:39 +0000 Subject: [PATCH 2/2] Run linkchecker with python 2 --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d80d86b30ef9..d63ed602c0e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,8 +86,7 @@ install: - | if [[ $BUILD_DOCS == true ]]; then - pip install $PRE numpydoc ipython jsonschema mistune colorspacious - pip install -q $PRE linkchecker + pip install $PRE numpydoc ipython colorspacious wget https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true -O Felipa-Regular.ttf wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb mkdir -p tmp @@ -118,6 +117,9 @@ script: python make.py html --small --warningsaserrors # We don't build the LaTeX docs here, so linkchecker will complain touch build/html/Matplotlib.pdf + deactivate + source ~/virtualenv/python2.7/bin/activate + pip install linkchecker linkchecker build/html/index.html fi