From 984872ee518a074e3ffccdddbf8df1ee899ffe19 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 20 Dec 2017 13:27:10 +0500 Subject: [PATCH] enable sudo for apt[2] --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 568ebcd2dd..e6ad7884a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -sudo: true +sudo: required cache: apt: true @@ -26,8 +26,7 @@ matrix: before_install: - if [[ ${TOXENV} == *"docs"* ]]; then - sudo apt-get -yq update; - sudo apt-get -yq remove texlive-binaries --purge; + sudo apt-get -qq update; sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install \ dvipng texlive-latex-base texlive-latex-extra texlive-latex-recommended \ texlive-latex-extra texlive-fonts-recommended latexmk;