Skip to content

Commit e70b519

Browse files
committed
Fix warning in config; sphinx head works with all 3.x
Fix warning - travis ci expects dist: to be a value not a list. Newest sphinx work on 3.6 so simplify sphynx install for 3.x.
1 parent e08696e commit e70b519

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ branches:
1616
# - default
1717
# - maint-1.6
1818

19-
dist:
20-
- focal
19+
dist: focal
2120

2221
# - pypy3
2322
python:
@@ -55,8 +54,7 @@ before_install:
5554
# Sphinx required to build the xapian python bindings. Use 1.8.5 on
5655
# older python and newest on newer.
5756
- if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi
58-
- if [[ $TRAVIS_PYTHON_VERSION == "3.[67]" ]]; then pip install sphinx==1.8.5; fi
59-
- if [[ $TRAVIS_PYTHON_VERSION != "3.[67]" ]] && [[ $TRAVIS_PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
57+
- if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
6058
- if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then pip install sphinx; fi
6159
- XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1)
6260
- cd /tmp

0 commit comments

Comments
 (0)