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
Update Travis and eslint peer dependencies
- Loading branch information
1 parent
96890ac
commit 0c85fd6
Showing
2 changed files
with
59 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,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 |
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