-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Michaël De Boey <info@michaeldeboey.be> Co-authored-by: Jordan Harband <ljharb@gmail.com>
- Loading branch information
1 parent
6d1c78d
commit b4a5376
Showing
6 changed files
with
1,116 additions
and
1,087 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,54 +1,94 @@ | ||
language: node_js | ||
node_js: | ||
- '12' | ||
- '10' | ||
- '8' | ||
- '6' | ||
# eslint 7: node 10+ | ||
# jest 26: node 10+ | ||
- 14 | ||
- 12 | ||
- 10 | ||
install: | ||
- 'yarn add "eslint@${ESLINT}" "jest@${JEST}" "babel-jest@${JEST}"' | ||
- 'yarn' | ||
- 'yarn add "eslint@${ESLINT}" "jest@${JEST}" "babel-jest@${JEST}" --ignore-engines' | ||
- 'if [ "${ESLINT-}" = 4 ]; then yarn add eslint-config-airbnb-base@13 --ignore-engines; fi' | ||
- 'yarn --ignore-engines' | ||
env: | ||
- 'ESLINT=4 JEST=21' | ||
- 'ESLINT=5 JEST=21' | ||
- 'ESLINT=6 JEST=21' | ||
- 'ESLINT=7 JEST=21' | ||
- 'ESLINT=4 JEST=22' | ||
- 'ESLINT=5 JEST=22' | ||
- 'ESLINT=6 JEST=22' | ||
- 'ESLINT=7 JEST=22' | ||
- 'ESLINT=4 JEST=23' | ||
- 'ESLINT=5 JEST=23' | ||
- 'ESLINT=6 JEST=23' | ||
- 'ESLINT=7 JEST=23' | ||
- 'ESLINT=4 JEST=24' | ||
- 'ESLINT=5 JEST=24' | ||
- 'ESLINT=6 JEST=24' | ||
- 'ESLINT=7 JEST=24' | ||
- 'ESLINT=4 JEST=25' | ||
- 'ESLINT=5 JEST=25' | ||
- 'ESLINT=6 JEST=25' | ||
- 'ESLINT=7 JEST=25' | ||
- 'ESLINT=4 JEST=26' | ||
- 'ESLINT=5 JEST=26' | ||
- 'ESLINT=6 JEST=26' | ||
- 'ESLINT=7 JEST=26' | ||
matrix: | ||
exclude: | ||
# exclude eslint 6 on node 6 | ||
# jest 21: 4+ | ||
# jest 22: 6+ | ||
# jest 25: 8+ | ||
include: | ||
# eslint 4, node 4/6/8 | ||
- node_js: '4' | ||
env: 'ESLINT=4 JEST=21' | ||
- node_js: '6' | ||
env: 'ESLINT=6 JEST=24' | ||
- node_js: '6' | ||
env: 'ESLINT=6 JEST=25' | ||
# exclude jest 25 on node 6 | ||
env: 'ESLINT=4 JEST=21' | ||
- node_js: '8' | ||
env: 'ESLINT=4 JEST=21' | ||
- node_js: '6' | ||
env: 'ESLINT=4 JEST=25' | ||
env: 'ESLINT=4 JEST=22' | ||
- node_js: '8' | ||
env: 'ESLINT=4 JEST=22' | ||
- node_js: '6' | ||
env: 'ESLINT=5 JEST=25' | ||
env: 'ESLINT=4 JEST=23' | ||
- node_js: '8' | ||
env: 'ESLINT=4 JEST=23' | ||
- node_js: '6' | ||
env: 'ESLINT=6 JEST=25' | ||
# exclude jest 25 on node 8 | ||
env: 'ESLINT=4 JEST=24' | ||
- node_js: '8' | ||
env: 'ESLINT=4 JEST=25' | ||
env: 'ESLINT=4 JEST=24' | ||
- node_js: '8' | ||
env: 'ESLINT=5 JEST=25' | ||
env: 'ESLINT=4 JEST=25' | ||
|
||
# eslint 5, node 6/8 | ||
- node_js: '6' | ||
env: 'ESLINT=5 JEST=21' | ||
- node_js: '8' | ||
env: 'ESLINT=6 JEST=25' | ||
# exclude jest 26 on node 6 | ||
env: 'ESLINT=5 JEST=21' | ||
- node_js: '6' | ||
env: 'ESLINT=4 JEST=26' | ||
env: 'ESLINT=5 JEST=22' | ||
- node_js: '8' | ||
env: 'ESLINT=5 JEST=22' | ||
- node_js: '6' | ||
env: 'ESLINT=5 JEST=26' | ||
env: 'ESLINT=5 JEST=23' | ||
- node_js: '8' | ||
env: 'ESLINT=5 JEST=23' | ||
- node_js: '6' | ||
env: 'ESLINT=6 JEST=26' | ||
# exclude jest 26 on node 8 | ||
env: 'ESLINT=5 JEST=24' | ||
- node_js: '8' | ||
env: 'ESLINT=5 JEST=24' | ||
- node_js: '8' | ||
env: 'ESLINT=4 JEST=26' | ||
env: 'ESLINT=5 JEST=25' | ||
|
||
# eslint 6, node 8 | ||
- node_js: '8' | ||
env: 'ESLINT=5 JEST=26' | ||
env: 'ESLINT=6 JEST=21' | ||
- node_js: '8' | ||
env: 'ESLINT=6 JEST=26' | ||
env: 'ESLINT=6 JEST=22' | ||
- node_js: '8' | ||
env: 'ESLINT=6 JEST=23' | ||
- node_js: '8' | ||
env: 'ESLINT=6 JEST=24' | ||
- node_js: '8' | ||
env: 'ESLINT=6 JEST=25' |
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
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
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
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
Oops, something went wrong.