Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jan 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions 38 .travis.yml

This file was deleted.

62 changes: 62 additions & 0 deletions 62 azure-pipelines.yml
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'
Morty Proxy This is a proxified and sanitized view of the page, visit original site.