Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Travis and eslint peer dependencies
  • Loading branch information
jessebeach committed Nov 25, 2019
1 parent 96890ac commit 0c85fd6
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 5 deletions.
62 changes: 58 additions & 4 deletions .travis.yml
@@ -1,10 +1,64 @@
language: node_js
node_js:
- 4
- 5
- 6
- "12"
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
cache:
yarn: true
directories:
- node_modules
before_install:
- nvm install-latest-npm
- if [ -n "${ESLINT-}" ]; then npm uninstall --no-save eslint-config-airbnb-base && npm install --no-save "eslint@${ESLINT}"; fi
script:
- if [ "${FLOW-}" = true ]; then npm run flow; fi
- if [ "${LINT-}" = true ]; then npm run lint; fi
- if [ "${TEST-}" = true ]; then npm run test:ci; fi
after_success:
- npm run coveralls
- if [ "${TEST-}" = true ]; then npm run coveralls; fi
sudo: false
branches:
only:
- master
env:
global:
- TEST=true
matrix:
- ESLINT=6
- ESLINT=5
- ESLINT=4
- ESLINT=3
matrix:
fast_finish: true
include:
- node_js: "node"
env: FLOW=true TEST=false
- node_js: "node"
env: LINT=true TEST=false
exclude:
- node_js: "4"
env: ESLINT=5
- node_js: "4"
env: ESLINT=6
- node_js: "5"
env: ESLINT=5
- node_js: "6"
env: ESLINT=6
allow_failures:
- node_js: "7"
env: ESLINT=6
- node_js: "5"
env: ESLINT=6
- node_js: "5"
env: ESLINT=4
- node_js: "5"
env: ESLINT=3
- node_js: "4"
env: ESLINT=4
- node_js: "4"
env: ESLINT=3
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -62,7 +62,7 @@
"eslint": "^5 || ^6"
},
"peerDependencies": {
"eslint": "^3 || ^4 || ^5 || ^6"
"eslint": "^5 || ^6"
},
"jest": {
"coverageReporters": [
Expand Down

0 comments on commit 0c85fd6

Please sign in to comment.