Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore: set up CI with Azure Pipelines#98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
17 commits Select commitHold shift + click to select a range
7b56c96 chore: set up CI with Azure Pipelines
azure-pipelines[bot]48ae9db chore: try maxParallel
JamesHenry412580b build: add yarn test
JamesHenry4d5ed11 build: try multiple jobs
JamesHenrycf3a3ae build: try job
JamesHenrye940bb9 build: try job
JamesHenrya100a1f build: try multiple jobs
JamesHenrye171a96 build: better job names
JamesHenrye5d7393 build: format yaml
JamesHenryd35015f build: try dockercompose task
JamesHenry0adee6e build: alt dockercompose attempt
JamesHenryb951128 build: uncomment steps, delete travis
JamesHenry4e7b0f3 build: try npx for codecov
JamesHenrye1c6bb2 build: add codecov token
JamesHenry9c9302d build: replace old codecov token, set secret
JamesHenry12d4b7a build: remove -t
JamesHenry275ff1d build: -t $(CODECOV_TOKEN)
JamesHenryFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
38 changes: 0 additions & 38 deletions.travis.yml
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
62 changes: 62 additions & 0 deletionsazure-pipelines.yml
This file contains hidden or 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,62 @@ | ||
| trigger: | ||
| - master | ||
| jobs: | ||
| - job: primary_code_validation_and_tests | ||
| displayName: Primary code validation and tests | ||
| pool: | ||
| vmImage: 'Ubuntu-16.04' | ||
| steps: | ||
| - task: NodeTool@0 | ||
| inputs: | ||
| versionSpec: 11 | ||
| displayName: 'Install Node.js 11' | ||
| - script: | | ||
| # This also runs a build as part of the postinstall | ||
| # bootstrap | ||
| yarn --ignore-engines --frozen-lockfile | ||
| - script: | | ||
| yarn check-format | ||
| displayName: 'Check code formatting' | ||
| - script: | | ||
| yarn test | ||
| displayName: 'Run unit tests' | ||
| - script: | | ||
| yarn integration-tests | ||
| displayName: 'Run integrations tests' | ||
| - script: | | ||
| npx codecov -t $(CODECOV_TOKEN) | ||
| displayName: 'Publish code coverage report' | ||
| - job: unit_tests_on_other_node_versions | ||
| displayName: Run unit tests on other Node.js versions | ||
| pool: | ||
| vmImage: 'Ubuntu-16.04' | ||
| strategy: | ||
| maxParallel: 3 | ||
| matrix: | ||
| node_10_x: | ||
| node_version: 10.x | ||
| node_8_x: | ||
| node_version: 8.x | ||
| node_6_x: | ||
| node_version: 6.x | ||
| steps: | ||
| - task: NodeTool@0 | ||
| inputs: | ||
| versionSpec: $(node_version) | ||
| displayName: 'Install Node.js $(node_version)' | ||
| - script: | | ||
| # This also runs a build as part of the postinstall | ||
| # bootstrap | ||
| yarn --ignore-engines --frozen-lockfile | ||
| - script: | | ||
| yarn test | ||
| displayName: 'Run unit tests' |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.