aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-03-14 17:07:11 +0100
committerGitHub <noreply@github.com>2017-03-14 17:07:11 +0100
commite29cd7f5b7a5547b23dd6626143f718546e63457 (patch)
treeaac01fb1985dcd9e03feefd5613ef0a224b74e8c
parent2d016775fe0b0c4ca64e0a52028e9235508e3864 (diff)
parentb37d935d3cf1b516196c0d03d35ddfd334c4160b (diff)
downloadmitmproxy-e29cd7f5b7a5547b23dd6626143f718546e63457.tar.gz
mitmproxy-e29cd7f5b7a5547b23dd6626143f718546e63457.tar.bz2
mitmproxy-e29cd7f5b7a5547b23dd6626143f718546e63457.zip
Merge pull request #2151 from MatthewShao/jest-dev
Update .travis.yml to fix the failure about yarn
-rw-r--r--.travis.yml4
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: