File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
# After changing this file, check it on:
2
2
# http://lint.travis-ci.org/
3
3
language : python
4
+ dist : xenial
4
5
sudo : false
5
- env :
6
- - SPHINX_SPEC="Sphinx==1.2.3"
7
- - SPHINX_SPEC="Sphinx"
8
6
matrix :
9
7
include :
10
- - python : 3.6
8
+ - python : 3.7
9
+ env : SPHINX_SPEC="==1.2.3" SPHINXOPTS=""
10
+ - python : 3.7
11
11
- python : 2.7
12
- env :
13
- - SPHINXOPTS='-W'
14
12
cache :
15
13
directories :
16
14
- $HOME/.cache/pip
17
15
before_install :
18
16
- sudo apt-get install texlive texlive-latex-extra latexmk
19
17
- 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}
21
19
script :
22
20
- |
23
21
python setup.py sdist
Original file line number Diff line number Diff line change 2
2
#
3
3
4
4
# You can set these variables from the command line.
5
- SPHINXOPTS =
5
+ SPHINXOPTS = -nWT --keep-going
6
6
SPHINXBUILD = sphinx-build
7
7
PAPER =
8
8
BUILDDIR = _build
15
15
# Internal variables.
16
16
PAPEROPT_a4 = -D latex_paper_size=a4
17
17
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 ) .
19
19
# the i18n builder cannot share the environment and doctrees with the others
20
20
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) .
21
21
You can’t perform that action at this time.
0 commit comments