summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Nothman <joel.nothman@gmail.com>2018-04-01 22:42:03 +1000
committerJoel Nothman <joel.nothman@gmail.com>2018-04-01 22:42:03 +1000
commit6be9f334ff4c1bc0982f5283c95e770efe4a29da (patch)
treef9f13787449477f2bd10ecb04fb81dc46d8eb3a0
parent8501238d83518d342a022d29055520adfa2f77fd (diff)
downloadnumpydoc-6be9f334ff4c1bc0982f5283c95e770efe4a29da.tar.gz
Make warnings check only in Py3
does this work?
-rw-r--r--.travis.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 7010fd4..c299e6b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,12 +2,15 @@
# http://lint.travis-ci.org/
language: python
sudo: false
-python:
- - 3.6
- - 2.7
env:
- SPHINX_SPEC="Sphinx==1.2.3"
- SPHINX_SPEC="Sphinx"
+matrix:
+ include:
+ - python: 3.6
+ - python: 2.7
+ env:
+ - SPHINXOPTS='-W'
cache:
directories:
- $HOME/.cache/pip
@@ -23,5 +26,5 @@ script:
- nosetests numpydoc
- |
cd ../doc
- make SPHINXOPTS='-W' html
- make SPHINXOPTS='-W' latexpdf
+ make SPHINXOPTS=$SPHINXOPTS html
+ make SPHINXOPTS=$SPHINXOPTS latexpdf