@@ -18,7 +18,6 @@ addons:
1818 # Required to build/install the xapian-binding
1919 - libxapian-dev
2020 # Required to install gpg
21- - libgpgme11-dev
2221 - swig
2322
2423before_install :
@@ -33,12 +32,40 @@ before_install:
3332 - if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then ./configure --prefix=$VIRTUAL_ENV --with-python3; fi
3433 - make && make install
3534
35+ - PATH=$VIRTUAL_ENV/bin:$PATH
36+
37+ # libgpg-error
38+ - LIBGPG_ERROR_VERSION=1.32
39+ - cd /tmp
40+ - curl -s -O https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-$LIBGPG_ERROR_VERSION.tar.bz2
41+ - tar -Jxvf libgpg-error-$LIBGPG_ERROR_VERSION.tar.bz2
42+ - cd libgpg-error-$LIBGPG_ERROR_VERSION
43+ - ./configure --prefix=$VIRTUAL_ENV
44+ - make && make install
45+
46+ # libassuan
47+ - LIBASSUAN_VERSION=2.5.1
48+ - cd /tmp
49+ - curl -s -O https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-$LIBASSUAN_VERSION.tar.bz2
50+ - tar -Jxvf libassuan-$LIBASSUAN_VERSION.tar.bz2
51+ - cd libassuan-$LIBASSUAN_VERSION
52+ - ./configure --prefix=$VIRTUAL_ENV
53+ - make && make install
54+
55+ # gpgme
56+ - GPGME_VERSION
57+ - cd /tmp
58+ - curl -s -O https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$GPGME_VERSION.tar.bz2
59+ - tar -Jxvf gpgme-$GPGME_VERSION
60+ - cd gpgme-$GPGME_VERSION
61+ - ./configure --prefix=$VIRTUAL_ENV
62+ - make && make install
63+
3664 # change back to the checked out repository directory
3765 - cd $TRAVIS_BUILD_DIR
3866
3967install :
40- - pip install psycopg2 pytz whoosh
41- # gpg currently disabled
68+ - pip install gpg psycopg2 pytz whoosh
4269 - if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then pip install MySQL-python; fi
4370 - pip install pytest-cov codecov
4471
0 commit comments