]> granicus.if.org Git - libexpat/commitdiff
Travis: Move from sudo to apt addon
authorSebastian Pipping <sebastian@pipping.org>
Mon, 13 Mar 2017 17:23:54 +0000 (18:23 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 13 Mar 2017 17:44:06 +0000 (18:44 +0100)
.travis.sh
.travis.yml

index b64eb647395d5815297d1b9bed88f561669b2536..a5704e8e1dcc1022150754d2fb165f1296c7c85b 100755 (executable)
@@ -10,11 +10,6 @@ set -x
 ret=0
 
 
-# Install missing build time dependencies
-sudo apt-get --quiet update
-sudo apt-get --quiet install docbook2x
-
-
 # Run test suite
 cd expat
 
index c7925df94dbe4dba5feb2627296b8f91ad6da395..20a4ad1ecf73af8bf070612b83fc75bdbb614488 100644 (file)
@@ -1,4 +1,9 @@
 language: cpp
 dist: trusty
+
+addons:
+  apt:
+    packages:
+      - docbook2x
+
 script: ./.travis.sh
-sudo: required