Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Tests] on
node
v12
; enhance test matrix
- Loading branch information
Showing
2 changed files
with
25 additions
and
5 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,6 +1,26 @@ | ||
language: node_js | ||
sudo: false | ||
os: | ||
- linux | ||
node_js: | ||
- '10' | ||
- '8' | ||
- '6' | ||
- "12" | ||
- "10" | ||
- "8" | ||
- "6" | ||
|
||
before_install: | ||
- 'nvm install-latest-npm' | ||
install: | ||
- 'npm install' | ||
- 'if [ "${TRAVIS_NODE_VERSION}" = "6" ]; then npm install --no-save eslint@5 ; fi' | ||
- 'npm ls > /dev/null' | ||
script: | ||
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi' | ||
- 'if [ -n "${TEST-}" ]; then npm run tests-only; fi' | ||
sudo: false | ||
env: | ||
- TEST=true | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- node_js: "lts/*" | ||
env: PRETEST=true |
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