From 371a7e252f9895cb12c6cf59082bcbac8a5495d5 Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Sun, 30 Oct 2016 15:03:53 -0400 Subject: [PATCH] add node 4,7, drop 5 (#229) * add node 4,7, drop 5 * lint in node * remove lint for every env --- .travis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d3cbe4741..c11e90021 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ --- git: - depth: 3 + depth: 10 sudo: false language: node_js cache: @@ -8,11 +8,18 @@ cache: - node_modules node_js: +- '7' - '6' -- '5' +- '4' script: +- 'if [ -n "${LINT-}" ]; then npm run lint ; fi' - npm run bootstrap - npm run build -- npm run lint - npm run test + +matrix: + fast_finish: true + include: + - node_js: "node" + env: LINT=true