aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: fc136792d654cd9dd5bd03ba69904d56486813c4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - libstdc++-4.9-dev
cache:
  directories: tmp
language: generic
matrix:
  fast_finish: true
sudo: false
env:
  global:
    - UGLIFYJS_TEST_ALL=1
  matrix:
    - NODEJS_VER=node/0.10
    - NODEJS_VER=node/0.12
    - NODEJS_VER=node/4
    - NODEJS_VER=node/6
    - NODEJS_VER=node/8
    - NODEJS_VER=node/10
    - 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