forked from monicahq/monica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
39 lines (36 loc) · 944 Bytes
/
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
37
38
39
# PHP
# Test and package your PHP project.
# Add steps that run tests, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/php
trigger:
batch: true
branches:
include:
- master
tags:
include:
- '*'
pr:
autoCancel: true
branches:
include:
- '*'
variables:
- group: Monica
- name: phpVersion
value: 7.4
- name: COMPOSER_HOME
value: $(Pipeline.Workspace)/.composer
- name: YARN_CACHE_FOLDER
value: $(Pipeline.Workspace)/.yarn
stages:
- stage: build
displayName: Build
condition: not(startsWith(variables['System.PullRequest.SourceBranch'], 'l10n_master'))
jobs:
- template: .azure/job-build.yml
- template: .azure/job-tests.yml
- template: .azure/job-analyzers.yml
- template: .azure/job-test-browser.yml
- template: .azure/job-reporting.yml
- template: .azure/job-test-migrations.yml