Change from pnpm to npm, add ./link.sh shortcut for npm style package linking
[html-minifier.git] / .travis.yml
1 addons:
2   apt:
3     sources:
4       - ubuntu-toolchain-r-test
5     packages:
6       - libstdc++-4.9-dev
7 branches:
8   only:
9     - gh-pages
10 language: generic
11 matrix:
12   fast_finish: true
13 sudo: false
14 env:
15   matrix:
16     - NODEJS_VER=chakracore/latest
17     - NODEJS_VER=node/4
18     - NODEJS_VER=node/6
19     - NODEJS_VER=node/8
20     - NODEJS_VER=node/latest
21 before_install:
22   - git clone --branch v1.4.2 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
23   - . ~/.nvs/nvs.sh
24   - nvs --version
25 install:
26   - nvs add $NODEJS_VER
27   - nvs use $NODEJS_VER
28   - node --version
29   - npm --version --no-update-notifier
30   - npm install --no-optional --no-save --no-update-notifier
31 script:
32   - npm test --no-update-notifier