Travis-CI: use "container-based infrastructure"
authorAlexander Barton <alex@barton.de>
Sun, 10 Jan 2016 18:50:00 +0000 (19:50 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 10 Jan 2016 18:50:51 +0000 (19:50 +0100)
See <https://docs.travis-ci.com/user/migrating-from-legacy/> for
details.

.travis.yml

index 55577ba..3b82280 100644 (file)
@@ -1,7 +1,15 @@
 language: c
-before_install:
-  - sudo apt-get update -qq
-  - sudo apt-get install -qq libident-dev libpam0g-dev libssl-dev libwrap0-dev zlib1g-dev expect telnet
+sudo: false
+addons:
+  apt:
+    packages:
+    - libident-dev
+    - libpam0g-dev
+    - libssl-dev
+    - libwrap0-dev
+    - zlib1g-dev
+    - expect
+    - telnet
 compiler:
   - gcc
   - clang