Skip to content

Commit 12d35b3

Browse files
install current yarn version on travis build
1 parent b0444d3 commit 12d35b3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ cache:
1010

1111
# install current version of yarn
1212
before_install:
13-
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
14-
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
15-
- sudo apt-get update && sudo apt-get install yarn
16-
- export PATH=$HOME/.yarn/bin:$PATH
13+
- curl -o- -L https://yarnpkg.com/install.sh | bash
14+
- export PATH="$HOME/.yarn/bin:$PATH"
1715

1816
jobs:
1917
include:

0 commit comments

Comments
 (0)