Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e035cf9

Browse filesBrowse files
committed
Merge pull request #5797 from jenshnielsen/build-docs-on-35-linkcheck
Build docs on python3.5 with linkcheck running on python 2.7
2 parents fe701e3 + 5edf56f commit e035cf9
Copy full SHA for e035cf9

File tree

Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+6-4Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ matrix:
4747
env: PANDAS=pandas NOSE_ARGS=--with-coverage
4848
- python: 3.5
4949
env: TEST_ARGS=--pep8
50-
- python: 2.7
51-
env: BUILD_DOCS=true MOCK=mock
50+
- python: 3.5
51+
env: BUILD_DOCS=true
5252
- python: "nightly"
5353
env: PRE=--pre
5454
allow_failures:
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.