Skip to content

Commit ee6cc59

Browse files
committed
Need to update xapian build version based on installed version of dev
from new xenial dist.
1 parent ab7a6b9 commit ee6cc59

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ addons:
2020
- swig
2121

2222
before_install:
23+
- pip install sphinx==1.8.5
24+
- XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1)
2325
- cd /tmp
24-
- curl -s -O https://oligarchy.co.uk/xapian/1.2.16/xapian-bindings-1.2.16.tar.xz
25-
- tar -Jxvf xapian-bindings-1.2.16.tar.xz
26-
- cd xapian-bindings-1.2.16/
26+
- curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-1.2.16.tar.xz
27+
- tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz
28+
- cd xapian-bindings-$XAPIAN_VER/
2729
- ./configure --prefix=$VIRTUAL_ENV --with-python && make && make install
2830

2931
# change back to the checked out repository directory

0 commit comments

Comments
 (0)