From: Vladimir Panteleev Date: Thu, 17 Aug 2017 17:51:43 +0000 (+0000) Subject: .travis.yml: Switch to "sudo: false" for faster builds X-Git-Tag: 0.26_rc0~162 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=d4bb606834780edeef53ff6c20148f3afcfdea7c .travis.yml: Switch to "sudo: false" for faster builds Builds not requiring sudo access run in a container, which will have better performance and less overhead on the Travis infrastructure. Use the apt addon to install dependencies instead of explicit apt-get commands. --- diff --git a/.travis.yml b/.travis.yml index c2316cc5..802efd98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,18 @@ language: c dist: trusty -sudo: required +sudo: false -before_install: - - sudo apt-get update -qq - - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx gdb gpgsm +addons: + apt: + packages: + - dtach + - libxapian-dev + - libgmime-2.6-dev + - libtalloc-dev + - python-sphinx + - gdb + - gpgsm script: - ./configure