.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.
This commit is contained in:
Vladimir Panteleev 2017-08-17 17:51:43 +00:00 committed by David Bremner
parent 95b82bb326
commit d4bb606834

View file

@ -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