Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9fa3b3d

Browse files
committed
Run linkchecker with python 2
1 parent c702c08 commit 9fa3b3d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ install:
8686

8787
- |
8888
if [[ $BUILD_DOCS == true ]]; then
89-
pip install $PRE numpydoc ipython jsonschema mistune colorspacious
90-
pip install -q $PRE linkchecker
89+
pip install $PRE numpydoc ipython colorspacious
9190
wget https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true -O Felipa-Regular.ttf
9291
wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb
9392
mkdir -p tmp
@@ -118,6 +117,9 @@ script:
118117
python make.py html --small --warningsaserrors
119118
# We don't build the LaTeX docs here, so linkchecker will complain
120119
touch build/html/Matplotlib.pdf
120+
deactivate
121+
source ~/virtualenv/python2.7/bin/activate
122+
pip install linkchecker
121123
linkchecker build/html/index.html
122124
fi
123125

0 commit comments

Comments
 (0)