File tree Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Make sure baseline files have consistent line endings
2
+ * .txt text eol =lf
Original file line number Diff line number Diff line change
1
+ steps :
2
+ - task : NodeTool@0
3
+ inputs :
4
+ versionSpec : ' 8.9'
5
+ displayName : ' Install Node.js'
6
+
7
+ - script : npm install
8
+ displayName : ' npm install'
9
+
10
+ - script : npm install -g mocha
11
+ displayName : ' Install mocha'
12
+
13
+ - script : npm install -g mocha-junit-reporter
14
+ displayName : ' Install mocha junit reporter'
15
+
16
+ - script : npm run build
17
+ displayName : ' Build'
18
+
19
+ - script : mocha tests/test.js --reporter mocha-junit-reporter
20
+ displayName : ' Test'
21
+
22
+ - task : PublishTestResults@2
23
+ inputs :
24
+ testResultsFiles : ' **/test-results.xml'
25
+ condition : succeededOrFailed()
Original file line number Diff line number Diff line change
1
+ trigger :
2
+ - master
3
+ - releases/*
4
+
5
+ jobs :
6
+
7
+ # All tasks on Linux
8
+ - job : build_all_windows
9
+ displayName : Build all tasks (Windows)
10
+ pool :
11
+ vmImage : vs2017-win2016
12
+ steps :
13
+ - template : azure-pipelines-template.yml
14
+
15
+ # All tasks on Linux
16
+ - job : build_all_linux
17
+ displayName : Build all tasks (Linux)
18
+ pool :
19
+ vmImage : ' Ubuntu 16.04'
20
+ steps :
21
+ - template : azure-pipelines-template.yml
22
+
23
+ # All tasks on macOS
24
+ - job : build_all_darwin
25
+ displayName : Build all tasks (macOS)
26
+ pool :
27
+ vmImage : macos-10.13
28
+ steps :
29
+ - template : azure-pipelines-template.yml
You can’t perform that action at this time.
0 commit comments