Skip to content

Commit 55221c2

Browse files
committed
Try system packaged python*gpg; comnent out build; no-github-ci
1 parent 873b3a6 commit 55221c2

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.travis.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ before_install:
5959
- sudo apt-get remove distro-info
6060
# pin setuptools to try to get gpgme to build
6161
- pip install "setuptools<66"
62+
- if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then sudo apt-get install python-gpg; fi
63+
- if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then sudo apt-get install python3-gpg; fi
6264
# build xapian
6365
- echo "$TRAVIS_PYTHON_VERSION"
6466
# Sphinx required to build the xapian python bindings. Use 1.8.5 on
@@ -105,16 +107,16 @@ before_install:
105107
- make && make install
106108

107109
# gpgme
108-
- GPGME_VERSION=1.18.0
109-
- cd /tmp
110-
- curl -s -O https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$GPGME_VERSION.tar.bz2
111-
- tar -jxf gpgme-$GPGME_VERSION.tar.bz2
112-
- cd gpgme-$GPGME_VERSION
113-
- ./configure --prefix=$VIRTUAL_ENV
114-
- make && make install
110+
#- GPGME_VERSION=1.18.0
111+
#- cd /tmp
112+
#- curl -s -O https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$GPGME_VERSION.tar.bz2
113+
#- tar -jxf gpgme-$GPGME_VERSION.tar.bz2
114+
#- cd gpgme-$GPGME_VERSION
115+
#- ./configure --prefix=$VIRTUAL_ENV
116+
#- make && make install
115117

116118
# change back to the checked out repository directory
117-
- cd $TRAVIS_BUILD_DIR
119+
#- cd $TRAVIS_BUILD_DIR
118120

119121
install:
120122
- if [[ $TRAVIS_PYTHON_VERSION == "3.4"* ]]; then pip install mysqlclient==1.3.14; fi

0 commit comments

Comments
 (0)