diff --git a/.travis.yml b/.travis.yml index 3c53a4e6d..5022f77ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,10 +44,10 @@ cache: # Install yarn as Travis doesn't support it out of the box before_install: - - apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3 - - echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list - - apt-get update -qq - - apt-get install -y -qq yarn + - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3 + - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list + - sudo apt-get update -qq + - sudo apt-get install -y -qq yarn # Install dependencies install: