-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
- "0.12" | ||
- "4" | ||
- "6" | ||
- "8" | ||
env: | ||
- UGLIFYJS_TEST_ALL=1 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- libstdc++-4.9-dev | ||
cache: | ||
directories: tmp | ||
language: generic | ||
matrix: | ||
fast_finish: true | ||
sudo: false | ||
cache: | ||
directories: tmp | ||
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/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
environment: | ||
UGLIFYJS_TEST_ALL: 1 | ||
matrix: | ||
- nodejs_version: "0.10" | ||
- nodejs_version: "0.12" | ||
- nodejs_version: "4" | ||
- nodejs_version: "6" | ||
- nodejs_version: "8" | ||
- 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/latest | ||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- set UGLIFYJS_TEST_ALL=1 | ||
- npm install | ||
- git clone --branch v1.4.2 --depth 1 https://github.com/jasongin/nvs.git %LOCALAPPDATA%\nvs | ||
- set PATH=%LOCALAPPDATA%\nvs;%PATH% | ||
- nvs --version | ||
- nvs add %NODEJS_VER% | ||
- nvs use %NODEJS_VER% | ||
- node --version | ||
- npm --version --no-update-notifier | ||
- npm install --no-optional --no-save --no-update-notifier | ||
build: off | ||
cache: | ||
- tmp | ||
matrix: | ||
fast_finish: true | ||
test_script: | ||
- node --version | ||
- npm --version | ||
- npm test | ||
- npm test --no-update-notifier |