Skip to content

Commit

Permalink
build: revert all attempts to disable docs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rouilj committed Sep 11, 2023
1 parent 4212507 commit 3373b68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ python:
# - 3.8
# - 3.6
# - 3.11-dev
- nightly
# - nightly
# - pypy3

services:
Expand Down Expand Up @@ -80,14 +80,14 @@ before_install:
- 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
Expand Down

0 comments on commit 3373b68

Please sign in to comment.