From 05af91dc537e4ed812d978e155f1fef6c3b12c4c Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Thu, 14 Jul 2016 23:25:35 -0400 Subject: [PATCH] Update Travis script --- .travis.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0abfae12..e51a8ea7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,30 @@ sudo: false language: node_js +cache: + directories: + - node_modules +notifications: + email: false node_js: - - 0.10 - 0.12 - - 4.4 - - 5.8 + - 4 + - 5 + - 6 matrix: + fast_finish: true allow_failures: - - node_js: 4.4 - - node_js: 5.8 + - node_js: 6 env: global: - CXX=g++-4.8 - matrix: - - TEST_SUITE=unit -script: "npm run $TEST_SUITE" +script: "npm run travis" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 +before_install: + - npm i -g npm@^2.0.0 +before_script: + - npm prune