Mercurial > p > roundup > code
changeset 7623:3df2441f3a1e
build: revert all attempts to disable docs
travis-ci will remain broken for nightly (3.12) testing.
Trying to enable maintainer mode broke on a missing dot executable.
Disable nightly since something is borked in the base config there and
I don't want to waste credits on it.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 11 Sep 2023 01:17:57 -0400 |
| parents | f7183bf6801b |
| children | 0e096d280437 |
| files | .travis.yml |
| diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/.travis.yml Mon Sep 11 01:02:36 2023 -0400 +++ b/.travis.yml Mon Sep 11 01:17:57 2023 -0400 @@ -29,7 +29,7 @@ # - 3.8 # - 3.6 # - 3.11-dev - - nightly +# - nightly # - pypy3 services: @@ -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 --disable-documentation --enable-maintainer-mode; fi + - if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then ./configure --prefix=$VIRTUAL_ENV --with-python --disable-documentation; 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 --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 + - 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; 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; 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; fi - case "$TRAVIS_PYTHON_VERSION" in disable) echo skipping xapian build;; *) make && make install; esac - PATH=$VIRTUAL_ENV/bin:$PATH
