Skip to content

Commit

Permalink
enable sudo for apt[2]
Browse files Browse the repository at this point in the history
  • Loading branch information
menshikh-iv committed Dec 20, 2017
1 parent 62c10d2 commit 984872e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: true
sudo: required

cache:
apt: true
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 984872e

Please sign in to comment.