forked from jfrog/build-info
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
129 lines (120 loc) · 4.02 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
stack: jdk 8, node 8, go 1.15, python 3.7.9
skip_tags: true
environment:
matrix:
# Extractor Tests
- job_name: extractor_win
job_group: general
appveyor_build_worker_image: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
TEST_SUIT:
"gradlew.bat clean build-info-api:test build-info-client:test build-info-extractor:test build-info-vcs:test"
- job_name: extractor_linux
job_group: general
appveyor_build_worker_image: Ubuntu
TEST_SUIT:
"./gradlew clean build-info-api:test build-info-client:test build-info-extractor:test build-info-vcs:test"
# Maven Tests
- job_name: maven_extractor_win
job_group: general
appveyor_build_worker_image: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
TEST_SUIT:
"gradlew.bat clean build-info-extractor-maven3:test"
- job_name: maven_extractor_linux
job_group: general
appveyor_build_worker_image: Ubuntu
TEST_SUIT:
"./gradlew clean build-info-extractor-maven3:test"
# Gradle Tests
- job_name: gradle_extractor_win
job_group: general
appveyor_build_worker_image: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
TEST_SUIT:
"gradlew.bat clean build-info-extractor-gradle:test"
- job_name: gradle_extractor_linux
job_group: general
appveyor_build_worker_image: Ubuntu
TEST_SUIT:
"./gradlew clean build-info-extractor-gradle:test"
# npm Tests
- job_name: npm_extractor_win
job_group: general
appveyor_build_worker_image: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
TEST_SUIT:
"gradlew.bat clean build-info-extractor-npm:test"
- job_name: npm_extractor_linux
job_group: general
appveyor_build_worker_image: Ubuntu
TEST_SUIT:
"./gradlew clean build-info-extractor-npm:test"
# Go Tests
- job_name: go_extractor_win
job_group: general
appveyor_build_worker_image: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
TEST_SUIT:
"gradlew.bat clean build-info-extractor-go:test"
- job_name: go_extractor_linux
job_group: general
appveyor_build_worker_image: Ubuntu
TEST_SUIT:
"./gradlew clean build-info-extractor-go:test"
# Pip Tests
- job_name: pip_extractor_win
job_group: pip
appveyor_build_worker_image: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
BITESTS_ARTIFACTORY_PIP_ENV: C:\\projects\\build-info\\pip-venv\\Scripts
TEST_SUIT:
"gradlew.bat clean build-info-extractor-pip:test"
- job_name: pip_extractor_linux
job_group: pip
appveyor_build_worker_image: Ubuntu
PYTHON: $HOME/venv3.7.9
BITESTS_ARTIFACTORY_PIP_ENV: /home/appveyor/projects/build-info/pip-venv/bin
TEST_SUIT:
"./gradlew clean build-info-extractor-pip:test"
# NuGet Tests
- job_name: nuget_extractor_win
job_group: general
appveyor_build_worker_image: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
# .NET CLI version
CLI_VERSION: Latest
TEST_SUIT:
"gradlew.bat clean build-info-extractor-nuget:test"
- job_name: nuget_extractor_linux
job_group: general
appveyor_build_worker_image: Ubuntu
# .NET CLI version
CLI_VERSION: Latest
TEST_SUIT:
"./gradlew clean build-info-extractor-nuget:test"
# Docker Tests
- job_name: docker_extractor_linux
job_group: general
appveyor_build_worker_image: Ubuntu
TEST_SUIT:
"./gradlew clean build-info-extractor-docker:test"
for:
-
matrix:
only:
- job_group: general
test_script:
- sh: "$TEST_SUIT"
- cmd: "%TEST_SUIT%"
-
matrix:
only:
- job_group: pip
test_script:
- sh: "python --version"
- sh: "python -m venv pip-venv"
- sh: "$TEST_SUIT"
- cmd: "C:\\Python37-x64\\python -m venv pip-venv"
- cmd: "%TEST_SUIT%"
build: off