aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-03-08 09:57:38 +0800
committerMatthew Shao <me@matshao.com>2017-03-08 09:57:38 +0800
commit7ff48b8bec5c28c9a886a3651e3eb55f7bb9ed8d (patch)
tree8db1b93a206dbd5f92af6a3a2a4fa921b5340970 /.travis.yml
parentcb6240974d16e9f2923543fe28c201d39a63f60f (diff)
downloadmitmproxy-7ff48b8bec5c28c9a886a3651e3eb55f7bb9ed8d.tar.gz
mitmproxy-7ff48b8bec5c28c9a886a3651e3eb55f7bb9ed8d.tar.bz2
mitmproxy-7ff48b8bec5c28c9a886a3651e3eb55f7bb9ed8d.zip
Add javascript tests to Travis CI. (#2093)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 4c85c46d..237ff396 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,11 +5,17 @@ env:
global:
- CI_DEPS=codecov>=2.0.5
- CI_COMMANDS=codecov
+ - MITMWEB_DIR=web
git:
depth: 10000
matrix:
fast_finish: true
+ allow_failures:
+ - language: node_js
+ node_js:
+ - "6"
+ - "iojs"
include:
- python: 3.5
env: TOXENV=lint
@@ -47,6 +53,15 @@ matrix:
env: TOXENV=individual_coverage
- python: 3.5
env: TOXENV=docs
+ - language: node_js
+ node_js:
+ - "6"
+ - "iojs"
+ install: cd $MITMWEB_DIR && npm install
+ script: npm test
+ cache:
+ directories:
+ - $MITMWEB_DIR/node_modules
install:
- |