forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
36 lines (31 loc) · 1.1 KB
/
.azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Azure Pipelines configuration for building and testing Jest on Linux, Windows, and macOS.
#
jobs:
- job: Linux
pool:
vmImage: ubuntu-latest
steps:
- template: .azure-pipelines-steps.yml
- job: Windows
pool:
vmImage: windows-latest
steps:
- script: |
git config --global core.autocrlf false
git config --global core.symlinks true
displayName: 'Preserve LF endings and symbolic links on check out'
- template: .azure-pipelines-steps.yml
- job: macOS
pool:
vmImage: macos-latest
steps:
# This step can be removed once Mercurial gets installed on the macOS image. See https://github.com/Microsoft/azure-pipelines-image-generation/issues/604
- script: HOMEBREW_NO_AUTO_UPDATE=1 brew install mercurial
displayName: 'Install Mercurial'
- template: .azure-pipelines-steps.yml
variables:
# Used by chalk. Ensures output from Jest includes ANSI escape characters that are needed to match test snapshots.
FORCE_COLOR: 1
# Ensures the handful of tests that should be skipped during CI are
CI: true