From 2bd669c7abe4abd64046763924aa75de36afa5d6 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 16 Mar 2017 12:32:08 +0100 Subject: [PATCH] Try to fix yarn installation on travis --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 87b32afb8..d25abb617 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,10 @@ cache: # Install yarn as Travis doesn't support it out of the box before_install: - - npm install -g yarn@v0.22.0 + - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - + - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list + - apt-get update -qq + - apt-get install -y -qq yarn # Install dependencies install: