diff .travis.yml @ 7622:f7183bf6801b

build: try disable doc again. It looks like disable-documention does work but only with --enable-maintainer-mode as well. So let's try this combo.
author John Rouillard <rouilj@ieee.org>
date Mon, 11 Sep 2023 01:02:36 -0400
parents 470e29fb36db
children 3df2441f3a1e
line wrap: on
line diff
--- a/.travis.yml	Mon Sep 11 00:42:01 2023 -0400
+++ b/.travis.yml	Mon Sep 11 01:02:36 2023 -0400
@@ -80,14 +80,14 @@
   - tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz
   - cd xapian-bindings-$XAPIAN_VER/
   - echo $TRAVIS_PYTHON_VERSION
-  - if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then ./configure --prefix=$VIRTUAL_ENV --with-python --enable-documentation=no; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then ./configure --prefix=$VIRTUAL_ENV --with-python --disable-documentation --enable-maintainer-mode; fi
   # edit the configure script. distutils.sysconfig.get_config_vars('SO')
   #  doesn't work for 3.11 or newer.
   # Change distutils.sysconfig... to just sysconfig and SO to EXT_SUFFIX
   # to get valid value.
-  - if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --enable-documentation=no; fi
-  - if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --enable-documentation=no; fi
-  - if [[ $TRAVIS_PYTHON_VERSION == "pypy3" ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --enable-documentation=no; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation --enable-maintainer-mode; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation --enable-maintainer-mode; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == "pypy3" ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation --enable-maintainer-mode; fi
   - case "$TRAVIS_PYTHON_VERSION" in disable) echo skipping xapian build;; *) make && make install; esac
 
   - PATH=$VIRTUAL_ENV/bin:$PATH

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