Skip to content

Commit 6be9f33

Browse files
committed
Make warnings check only in Py3
does this work?
1 parent 8501238 commit 6be9f33

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
# http://lint.travis-ci.org/
33
language: python
44
sudo: false
5-
python:
6-
- 3.6
7-
- 2.7
85
env:
96
- SPHINX_SPEC="Sphinx==1.2.3"
107
- SPHINX_SPEC="Sphinx"
8+
matrix:
9+
include:
10+
- python: 3.6
11+
- python: 2.7
12+
env:
13+
- SPHINXOPTS='-W'
1114
cache:
1215
directories:
1316
- $HOME/.cache/pip
@@ -23,5 +26,5 @@ script:
2326
- nosetests numpydoc
2427
- |
2528
cd ../doc
26-
make SPHINXOPTS='-W' html
27-
make SPHINXOPTS='-W' latexpdf
29+
make SPHINXOPTS=$SPHINXOPTS html
30+
make SPHINXOPTS=$SPHINXOPTS latexpdf

0 commit comments

Comments
 (0)