aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-03-08 13:00:09 +0800
committerMatthew Shao <me@matshao.com>2017-03-08 13:00:09 +0800
commitdae7435135998a74b81bcd8e9ad3b0856d82f0da (patch)
tree81983311d9b7e3e78c81049b5a8a8627135dab26 /.travis.yml
parent7ff48b8bec5c28c9a886a3651e3eb55f7bb9ed8d (diff)
downloadmitmproxy-dae7435135998a74b81bcd8e9ad3b0856d82f0da.tar.gz
mitmproxy-dae7435135998a74b81bcd8e9ad3b0856d82f0da.tar.bz2
mitmproxy-dae7435135998a74b81bcd8e9ad3b0856d82f0da.zip
Update .travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 237ff396..3542a592 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@ env:
global:
- CI_DEPS=codecov>=2.0.5
- CI_COMMANDS=codecov
- - MITMWEB_DIR=web
git:
depth: 10000
@@ -13,9 +12,7 @@ matrix:
fast_finish: true
allow_failures:
- language: node_js
- node_js:
- - "6"
- - "iojs"
+ node_js: "node"
include:
- python: 3.5
env: TOXENV=lint
@@ -54,14 +51,14 @@ matrix:
- python: 3.5
env: TOXENV=docs
- language: node_js
- node_js:
- - "6"
- - "iojs"
- install: cd $MITMWEB_DIR && npm install
+ node_js: "node"
+ before_install: npm install -g yarn
+ install: cd web && yarn
script: npm test
cache:
+ yarn: true
directories:
- - $MITMWEB_DIR/node_modules
+ - web/node_modules
install:
- |