forked from babel/babylon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
50 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "babel", | ||
"env": { | ||
"node": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ignore] | ||
.*/lib/.* | ||
.*/test/.* | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[options] | ||
strip_root=true | ||
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe | ||
suppress_comment= \\(.\\|\n\\)*\\$FlowIssue |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ build | |
coverage | ||
lib | ||
node_modules | ||
yarn.lock |
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,24 +1,31 @@ | ||
sudo: false | ||
language: node_js | ||
before_install: | ||
- | | ||
[ "$TRAVIS_COMMIT_RANGE" = "" ] || git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(doc))/' || { | ||
echo "Only docs were updated, stopping build process." | ||
exit | ||
} | ||
node_js: | ||
- "6" | ||
- "5" | ||
- "4" | ||
- "0.10" | ||
- "0.12" | ||
- "4" | ||
- "5" | ||
- "6" | ||
|
||
before_script: make bootstrap-babel | ||
before_script: 'if [ -n "${BABEL-}" ]; then make bootstrap-babel ; fi' | ||
|
||
script: | ||
- npm run test_cov | ||
- make test-babel | ||
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi' | ||
- 'if [ -n "${FLOW-}" ]; then npm run flow ; fi' | ||
- 'if [ -n "${BABEL-}" ]; then make test-babel ; fi' | ||
- 'if [ -z "${LINT-}" ] && [ -z "${FLOW-}" ] && [ -z "${BABEL-}" ]; then npm run test-ci ; fi' | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- node_js: "node" | ||
env: LINT=true | ||
- node_js: "node" | ||
env: FLOW=true | ||
- node_js: "node" | ||
env: BABEL=true | ||
|
||
after_success: npm run coverage | ||
after_success: 'if [ -z "${LINT-}" ] && [ -z "${FLOW-}" ] && [ -z "${BABEL-}" ]; then npm run coverage ; fi' | ||
|
||
notifications: | ||
slack: babeljs:5Wy4QX13KVkGy9CnU0rmvgeK |
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