From 8359c24804713437631a103745790e6453edbf76 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 16 Mar 2017 12:36:05 +0100 Subject: [PATCH] Try to fix yarn installation on travis --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: