From b37d935d3cf1b516196c0d03d35ddfd334c4160b Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Tue, 14 Mar 2017 23:09:25 +0800 Subject: [PATCH] Update .travis.yml to fix the failure about yarn --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index efb28bc72..e64bf6d45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,7 +49,9 @@ matrix: env: TOXENV=docs - language: node_js node_js: "node" - before_install: npm install -g yarn + before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash + - export PATH=$HOME/.yarn/bin:$PATH install: cd web && yarn script: npm test cache: