Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Tests] on node v12; enhance test matrix
  • Loading branch information
ljharb committed Aug 13, 2019
1 parent 8f0f3b3 commit a91db7f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
28 changes: 24 additions & 4 deletions .travis.yml
@@ -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
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -45,7 +45,7 @@
},
"devDependencies": {
"chai": "^4.1.0",
"eslint": "^5.3.0",
"eslint": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.7.0",
"in-publish": "^2.0.0",
Expand Down

0 comments on commit a91db7f

Please sign in to comment.