forked from newrelic/opentelemetry-exporter-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
37 lines (34 loc) · 945 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
# PR + Master build
name: PR Build for New Relic OpenTelemetry Java Exporters
pr:
branches:
include:
- '*' # must quote since "*" is a YAML reserved character; we want a string
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Gradle@2
displayName: Verify Code Formatting
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
tasks: 'verifyGoogleJavaFormat'
- task: Gradle@2
displayName: Gradle Check Task
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
tasks: 'check'