From 11187083d99cab7fef064e6ec0cd71029a5f12b0 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 13 Mar 2017 18:23:54 +0100 Subject: [PATCH] Travis: Move from sudo to apt addon --- .travis.sh | 5 ----- .travis.yml | 7 ++++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.sh b/.travis.sh index b64eb647..a5704e8e 100755 --- a/.travis.sh +++ b/.travis.sh @@ -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 diff --git a/.travis.yml b/.travis.yml index c7925df9..20a4ad1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,9 @@ language: cpp dist: trusty + +addons: + apt: + packages: + - docbook2x + script: ./.travis.sh -sudo: required -- 2.40.0