]> git.notmuchmail.org Git - notmuch/blobdiff - .travis.yml
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / .travis.yml
index dbd6434e6ab3dcc66b3a52626f983b5e6960a9db..5bb03de632941b82738f9c5f2d4c8a828f2199b9 100644 (file)
@@ -1,16 +1,22 @@
 language: c
-before_install:
-  - sudo apt-get update -qq
-  - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx
 
-  # Notmuch requires zlib 1.2.5.2, unfortunately travis runs on Ubuntu 12.04LTS which
-  # ships with zlib 1.2.3.3. We need to update to zlib 1.2.5.2 to be able to build.
-  # TODO: Watch https://github.com/travis-ci/travis-ci/issues/2046 and remove
-  #       this hack once travis-ci switches to Ubuntu 14.04
-  - wget 'https://github.com/notmuch/travis-files/raw/master/zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb'
-  - wget 'https://github.com/notmuch/travis-files/raw/master/zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb'
-  - sudo dpkg -i zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb
-  - sudo apt-get install -f
+dist: bionic
+
+addons:
+  apt:
+    sources:
+    - sourceline: 'ppa:xapian-backports/ppa'
+    packages:
+    - dtach
+    - libxapian-dev
+    - libgmime-3.0-dev
+    - libtalloc-dev
+    - python3-sphinx
+    - python3-cffi
+    - python3-pytest
+    - python3-setuptools
+    - libpython3-all-dev
+    - gpgsm
 
 script:
   - ./configure
@@ -19,5 +25,5 @@ script:
 notifications:
   irc:
     channels:
-      - "chat.freenode.net#notmuch"
+      - "irc.libera.chat#notmuch"
     on_success: change