diff .travis.yml @ 6637:e657826186c6

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.
author John Rouillard <rouilj@ieee.org>
date Sat, 16 Apr 2022 20:50:40 -0400
parents c347cb2adf5d
children 9f3fe52b7a2e
line wrap: on
line diff
--- a/.travis.yml	Sat Apr 16 20:06:39 2022 -0400
+++ b/.travis.yml	Sat Apr 16 20:50:40 2022 -0400
@@ -16,8 +16,7 @@
 #    - default
 #    - maint-1.6
 
-dist:
-  - focal
+dist: focal
 
 #  - pypy3
 python:
@@ -55,8 +54,7 @@
   # Sphinx required to build the xapian python bindings. Use 1.8.5 on
   # older python and newest on newer.
   - if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi
-  - if [[ $TRAVIS_PYTHON_VERSION == "3.[67]" ]]; then pip install sphinx==1.8.5; fi
-  - if [[ $TRAVIS_PYTHON_VERSION != "3.[67]" ]] && [[ $TRAVIS_PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
   - if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then pip install sphinx; fi
   - XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1)
   - cd /tmp

Roundup Issue Tracker: http://roundup-tracker.org/