diff options
author | Matthew Shao <me@matshao.com> | 2017-03-14 23:09:25 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-03-14 23:09:25 +0800 |
commit | b37d935d3cf1b516196c0d03d35ddfd334c4160b (patch) | |
tree | aac01fb1985dcd9e03feefd5613ef0a224b74e8c | |
parent | 2d016775fe0b0c4ca64e0a52028e9235508e3864 (diff) | |
download | mitmproxy-b37d935d3cf1b516196c0d03d35ddfd334c4160b.tar.gz mitmproxy-b37d935d3cf1b516196c0d03d35ddfd334c4160b.tar.bz2 mitmproxy-b37d935d3cf1b516196c0d03d35ddfd334c4160b.zip |
Update .travis.yml to fix the failure about yarn
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index efb28bc7..e64bf6d4 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: |