Skip to content

Commit e62ee28

Browse files
committed
BLD: Travis
1 parent e6eb4f7 commit e62ee28

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.travis.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
# After changing this file, check it on:
22
# http://lint.travis-ci.org/
33
language: python
4+
dist: xenial
45
sudo: false
5-
env:
6-
- SPHINX_SPEC="Sphinx==1.2.3"
7-
- SPHINX_SPEC="Sphinx"
86
matrix:
97
include:
10-
- python: 3.6
8+
- python: 3.7
9+
env: SPHINX_SPEC="==1.2.3" SPHINXOPTS=""
10+
- python: 3.7
1111
- python: 2.7
12-
env:
13-
- SPHINXOPTS='-W'
1412
cache:
1513
directories:
1614
- $HOME/.cache/pip
1715
before_install:
1816
- sudo apt-get install texlive texlive-latex-extra latexmk
1917
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
20-
- pip install pytest numpy matplotlib ${SPHINX_SPEC}
18+
- pip install pytest numpy matplotlib sphinx${SPHINX_SPEC}
2119
script:
2220
- |
2321
python setup.py sdist

doc/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33

44
# You can set these variables from the command line.
5-
SPHINXOPTS =
5+
SPHINXOPTS = -nWT --keep-going
66
SPHINXBUILD = sphinx-build
77
PAPER =
88
BUILDDIR = _build
@@ -15,7 +15,7 @@ endif
1515
# Internal variables.
1616
PAPEROPT_a4 = -D latex_paper_size=a4
1717
PAPEROPT_letter = -D latex_paper_size=letter
18-
ALLSPHINXOPTS = -nWT --keep-going -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
18+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
1919
# the i18n builder cannot share the environment and doctrees with the others
2020
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
2121

0 commit comments

Comments
 (0)