From: Alex Lam S.L Date: Tue, 17 Apr 2018 05:35:30 +0000 (+0800) Subject: add node-chakracore to Travis CI (#911) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6f324887c67533a29b6896ad1c0315a39de9f308;p=html-minifier.git add node-chakracore to Travis CI (#911) --- diff --git a/.travis.yml b/.travis.yml index aa074a4..7588fec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,32 @@ -language: node_js - -sudo: false - -node_js: - - "4" - - "6" - - "8" - +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - libstdc++-4.9-dev branches: only: - gh-pages - +language: generic matrix: fast_finish: true +sudo: false +env: + matrix: + - NODEJS_VER=chakracore/latest + - NODEJS_VER=node/4 + - NODEJS_VER=node/6 + - NODEJS_VER=node/8 + - NODEJS_VER=node/latest +before_install: + - git clone --branch v1.4.2 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs + - . ~/.nvs/nvs.sh + - nvs --version +install: + - nvs add $NODEJS_VER + - nvs use $NODEJS_VER + - node --version + - npm --version --no-update-notifier + - npm install --no-optional --no-save --no-update-notifier +script: + - npm test --no-update-notifier