-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bundle the API Blueprint parser
Should prevent protagonist to ever get to the distributed package. Previous experiments with lockfiles didn't work. Also adding a complex smoke test to verify all the scenarios in the npm package life cycle.
- Loading branch information
1 parent
40f6eee
commit 6269478
Showing
9 changed files
with
122 additions
and
694 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,2 +1,4 @@ | ||
node_modules | ||
/smoke | ||
/coverage | ||
node_modules | ||
dredd-transactions-*.tgz |
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 +1,2 @@ | ||
save-exact | ||
package-lock=false |
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,18 +1,37 @@ | ||
language: "node_js" | ||
node_js: | ||
- "6" | ||
- "8" | ||
- "10" | ||
env: | ||
global: | ||
# GH_TOKEN and NPM_TOKEN encrypted by 'travis encrypt' utility | ||
- secure: "wvzBndJSj08eo4AJWS7SyiPz1yG8PprxwaFbS4VNvd7cbnZvPAEsaAYvjt7ubn4KtcSXPpslUV12EO4xNPghaJUAsnJjRxf6+HSz+0M0BQBOpCwtg2BwXxll3FSRW+KZ/27bJXPl0F2nRDrsyBLbQ3+KQ9CF/QnenE6YvUfSPKrcg/OgZIQ6QeFMOgmP9Z/lP6zOkyigapsaMiRr2/8H9kx21Z6Wgd0lB+LMsKmPmNAUadN5TSJY6t4+aS5UrNsW8DMeYUDbcGk9XWh+YE86MqrP7FZCQoUfyP72ZEnUKrRJO+osDBGNJbxoIDVPQfPlIAx6gdsw+KAoyzT8/roc1MQBrlfhRAFlNyKjXqd0TUqg3I7ji4ZIababoCI4Qz4GGh6ZEJ2rQCYDnBw9cT2OzzoSx8QyiEnRu/qfKitIF7CcNCzclzp0EILXTZijgUaqK8g6rjwcLTnbN9S3KdpUTp3KN/NPgZm/lupxKVaPRqQH7MOWATYEzzw5wYx1H4ihNyKKasu5MHPJJelCW8X3qecYFahNQXaiI+ifZpG3jyH2s12Oi/tLxtYLPt8R+ScXdrGrs0FgX3azZn6YB3phWIV4OD+1jBGDJiym8Wk45Vm0EsneyOZaitFO2EDawWgyt1hQzbmvKUXVL70OG6tdaT8ztABYDz9jNjGhg80LYmQ=" | ||
node_js: "10" | ||
before_install: | ||
- "npm install npm@6 --global" | ||
install: | ||
- "npm run ci:install" | ||
script: | ||
- "npm run ci:test" | ||
after_success: | ||
- "npm run ci:coverage" | ||
- "npm run ci:release" | ||
- "npm install --no-optional --no-save" | ||
jobs: | ||
include: | ||
################################# Stage 1 ################################# | ||
- stage: "quality checks & tests" | ||
env: "JOB=quality_checks" | ||
script: "npm run ci:lint" | ||
|
||
- env: "JOB=node6" | ||
node_js: "6" | ||
script: "npm run ci:test" | ||
|
||
- env: "JOB=node8" | ||
node_js: "8" | ||
script: "npm run ci:test" | ||
|
||
- env: "JOB=node10" | ||
script: "npm run ci:test" | ||
|
||
- env: "JOB=smoke_tests" | ||
script: "npm run ci:test:smoke" | ||
|
||
################################# Stage 2 ################################# | ||
# The GH_TOKEN and NPM_TOKEN environment variables are expected to be set | ||
# in https://travis-ci.org/apiaryio/dredd/settings | ||
- stage: "semantic release" | ||
env: | ||
global: | ||
# GH_TOKEN and NPM_TOKEN encrypted by 'travis encrypt' utility | ||
- secure: "wvzBndJSj08eo4AJWS7SyiPz1yG8PprxwaFbS4VNvd7cbnZvPAEsaAYvjt7ubn4KtcSXPpslUV12EO4xNPghaJUAsnJjRxf6+HSz+0M0BQBOpCwtg2BwXxll3FSRW+KZ/27bJXPl0F2nRDrsyBLbQ3+KQ9CF/QnenE6YvUfSPKrcg/OgZIQ6QeFMOgmP9Z/lP6zOkyigapsaMiRr2/8H9kx21Z6Wgd0lB+LMsKmPmNAUadN5TSJY6t4+aS5UrNsW8DMeYUDbcGk9XWh+YE86MqrP7FZCQoUfyP72ZEnUKrRJO+osDBGNJbxoIDVPQfPlIAx6gdsw+KAoyzT8/roc1MQBrlfhRAFlNyKjXqd0TUqg3I7ji4ZIababoCI4Qz4GGh6ZEJ2rQCYDnBw9cT2OzzoSx8QyiEnRu/qfKitIF7CcNCzclzp0EILXTZijgUaqK8g6rjwcLTnbN9S3KdpUTp3KN/NPgZm/lupxKVaPRqQH7MOWATYEzzw5wYx1H4ihNyKKasu5MHPJJelCW8X3qecYFahNQXaiI+ifZpG3jyH2s12Oi/tLxtYLPt8R+ScXdrGrs0FgX3azZn6YB3phWIV4OD+1jBGDJiym8Wk45Vm0EsneyOZaitFO2EDawWgyt1hQzbmvKUXVL70OG6tdaT8ztABYDz9jNjGhg80LYmQ=" | ||
script: "npm run ci:release" | ||
if: fork = false AND branch = master AND type = push |
Oops, something went wrong.