Try to fix yarn installation on travis

This commit is contained in:
squidfunk 2017-03-16 12:34:47 +01:00
parent 2bd669c7ab
commit 71c28f5f0a

View File

@ -44,8 +44,8 @@ cache:
# Install yarn as Travis doesn't support it out of the box
before_install:
- 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-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