forked from microsoft/Recognizers-Text
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
79 lines (54 loc) · 1.26 KB
/
appveyor.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# AppVeyor build configuration for JavaScript project
version: 1.0.{build}
image: Visual Studio 2019
environment:
nodejs_version: "14.17.6"
PYTHON: "C:\\Python36-x64"
JAVA_HOME: "C:\\Program Files\\Java\\jdk11"
platform: Any CPU
configuration: Release
init:
- tzutil /s "UTC"
# Install Node 8
install:
- ps: Install-Product node $env:nodejs_version
- cmd: SET PATH=%PYTHON%;%PYTHON%\\Scripts;%JAVA_HOME%\bin;%PATH%
# Projects
clone_depth: 1
branches:
only:
- master
- /[Ff]eature\/.+/
- /[Ff]ix\/.+/
- /[Hh]otfix\/.+/
build:
parallel: true
build_script:
- cmd: >-
CALL wmic os get caption, version, osarchitecture
CALL node -v
CALL npm -v
CALL node -e "console.log(process.versions.v8);"
cd .NET\
build.ci.cmd
cd ..\JavaScript\
build.ci.cmd
cd ..\Python\
build.ci.cmd
cd ..\java\
build.ci.cmd
test:
test_script:
cd ..\.NET\
tests.ci.cmd
cd ..\JavaScript\
tests.ci.cmd
cd ..\java\
tests.ci.cmd
artifacts:
- path: '**\*Microsoft.Recognizers*.nupkg'
name: NuGets
- path: 'Java\libraries\**\recognizers-text*.jar'
name: JARs
- path: 'Python\libraries\dist\*'
name: Wheels