changeset 6726:189f5c1656fd

Remove debugging; cleanup; xapian working for 3.11-dev at least. Nightly is still failing on a macro expansion. The compiler chokes on the result. Disable xapian build for nightly. Fixing nightly is for another night....
author John Rouillard <rouilj@ieee.org>
date Thu, 23 Jun 2022 02:29:49 -0400
parents f973fa5163ed
children 3f3ce3004013
files .travis.yml
diffstat 1 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/.travis.yml	Thu Jun 23 01:58:53 2022 -0400
+++ b/.travis.yml	Thu Jun 23 02:29:49 2022 -0400
@@ -68,14 +68,12 @@
   - 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 to get valid SO.
-  - python3 -V
-  - if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; grep PYTHON3_SO 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; grep PYTHON3_SO configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi
+  # 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; 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
-  - python3 -c 'import sysconfig; s=sysconfig.get_config_var("EXT_SUFFIX"); print(s) if s else exit(1)'
-  # - case "$TRAVIS_PYTHON_VERSION" in nightly|3.11-dev) echo skipping xapian build;; *) make && make install; esac
-  - make && make install
+  - case "$TRAVIS_PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && make install; esac
 
   - PATH=$VIRTUAL_ENV/bin:$PATH
 

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