mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
.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:
parent
95b82bb326
commit
d4bb606834
1 changed files with 11 additions and 4 deletions
15
.travis.yml
15
.travis.yml
|
@ -1,11 +1,18 @@
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: false
|
||||||
|
|
||||||
before_install:
|
addons:
|
||||||
- sudo apt-get update -qq
|
apt:
|
||||||
- sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx gdb gpgsm
|
packages:
|
||||||
|
- dtach
|
||||||
|
- libxapian-dev
|
||||||
|
- libgmime-2.6-dev
|
||||||
|
- libtalloc-dev
|
||||||
|
- python-sphinx
|
||||||
|
- gdb
|
||||||
|
- gpgsm
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./configure
|
- ./configure
|
||||||
|
|
Loading…
Reference in a new issue