@@ -12,22 +12,39 @@ sudo: false
1212addons :
1313 apt :
1414 packages :
15- # required for install of 1.3.7 version of xapian??
15+ # required for install of xapian-bindings-1.2.16
16+ - libxapian-dev
17+ # required for install of 1.3.7 version of xapian
1618 - python-sphinx
1719 # Required to install pyme
1820 - libgpgme11-dev
1921 - swig
2022
2123before_install :
2224 - cd /tmp
25+ # commented out section of xapian installing core and bindings.
2326 # install core 1.3.7 as version in trusty deb is 1.2. need 1.3 for python 3.
24- - curl -s -O https://oligarchy.co.uk/xapian/1.3.7/xapian-core-1.3.7.tar.xz
25- - tar -Jxvf xapian-core-1.3.7.tar.xz
26- - cd xapian-core-1.3.7/
27- - ./configure && make && sudo make install
28- - curl -s -O https://oligarchy.co.uk/xapian/1.3.7/xapian-bindings-1.3.7.tar.xz
29- - tar -Jxvf xapian-bindings-1.3.7.tar.xz
30- - cd xapian-bindings-1.3.7/
27+ # - curl -s -O https://oligarchy.co.uk/xapian/1.3.7/xapian-core-1.3.7.tar.xz
28+ # - tar -Jxvf xapian-core-1.3.7.tar.xz
29+ # - cd xapian-core-1.3.7/
30+ # - ./configure && make && sudo make install
31+ # - cd /tmp
32+ # - curl -s -O https://oligarchy.co.uk/xapian/1.3.7/xapian-bindings-1.3.7.tar.xz
33+ # - tar -Jxvf xapian-bindings-1.3.7.tar.xz
34+ # - cd xapian-bindings-1.3.7/
35+ # - ./configure --prefix=$VIRTUAL_ENV --with-python && make && make install
36+ # the above fails on python 2.7 with:
37+ # ImportError: libxapian-1.3.so.8: cannot open shared object file:
38+ # No such file or directory
39+ # That library is installed by xapian-core-1.3.7 above. My guess
40+ # is that the virtualenv is created by travis software before
41+ # before_install is called and xapian-core is installed.
42+ # So libxapian is not present in the virtualenv python install.
43+ # See https://travis-ci.org/roundup-tracker/roundup/builds/406481321
44+ # Install 1.2.16 xapian-bindings compatible with xapian-dev in ubuntu trusty
45+ - curl -s -O https://oligarchy.co.uk/xapian/1.2.16/xapian-bindings-1.2.16.tar.xz
46+ - tar -Jxvf xapian-bindings-1.2.16.tar.xz
47+ - cd xapian-bindings-1.2.16/
3148 - ./configure --prefix=$VIRTUAL_ENV --with-python && make && make install
3249
3350 # change back to the checked out repository directory
0 commit comments