Skip to content

Commit b8a4c1a

Browse files
committed
fix(travis): manually install yarn on Travis CI
1 parent 7004cec commit b8a4c1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ branches:
55
- master
66
- /^greenkeeper\/.*$/
77
cache: yarn
8+
9+
# Since the upgrade to Ubuntu Precise, yarn is not available to run scripts: `yarn run foo`
10+
# So let's install it manually
11+
before_install:
12+
- curl -o- -L https://yarnpkg.com/install.sh | bash
13+
- export PATH="$HOME/.yarn/bin:$PATH"

0 commit comments

Comments
 (0)