Skip to content

Commit cafa956

Browse files
committed
Try using 1.4.19 xapian build to see if compile error fixed.
Also enable build of xapian on nighly.
1 parent 1671e50 commit cafa956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ before_install:
6060
- if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi
6161
- if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; then pip install sphinx; fi
6262
- XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER
63+
- if [[ $TRAVIS_PYTHON_VERSION == "nightly" ]]; XAPIAN_VER=1.4.19; fi; echo $XAPIAN_VER
6364
- cd /tmp
6465
- curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz
6566
- tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz
@@ -73,7 +74,7 @@ before_install:
7374
- 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
7475
- 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
7576
- 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
76-
- case "$TRAVIS_PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && make install; esac
77+
- case "$TRAVIS_PYTHON_VERSION" in ngihtly) echo skipping xapian build;; *) make && make install; esac
7778

7879
- PATH=$VIRTUAL_ENV/bin:$PATH
7980

0 commit comments

Comments
 (0)