-
Notifications
You must be signed in to change notification settings - Fork 1
/
common-build.yml
98 lines (91 loc) · 2.42 KB
/
common-build.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
os: linux
dist: jammy
services: docker
addons:
hosts:
- mariadb.example.com
- mariadb1.example.com
- mariadb2.example.com
- mariadb3.example.com
install:
- git clone https://github.com/mariadb-corporation/connector-test-machine.git
- |-
if [ -z "$server_branch" ] ; then
case $TRAVIS_OS_NAME in
windows)
connector-test-machine/launch.bat -t "$srv" -v "$v" -d "$DB"
# Since refreshenv doesn't seem to work, we set this manually
export WIX="/c/Program Files (x86)/WiX Toolset v3.11"
;;
linux)
source connector-test-machine/launch.sh -t "$srv" -v "$v" -d "$DB" -l "$local" -c "$CLEAR_TEXT" -p "$packet"
;;
esac
fi
stages:
- Minimal
- Language
- name: Enterprise
if: type = push AND fork = false
- Community
- Other
- name: Benchmarks
if: type = push AND fork = false
jobs:
fast_finish: true
allow_failures:
- env: srv=build
include:
- stage: Minimal
env: srv=mariadb v=10.6 local=1
name: "CS 10.6"
- stage: Minimal
env: srv=mariadb-es v=10.6
name: "ES 10.6"
dist: jammy
if: type = push AND fork = false
- stage: Enterprise
env: srv=mariadb-es v=10.5
name: "ES 10.5"
dist: jammy
if: type = push AND fork = false
- stage: Enterprise
env: srv=mariadb-es-test v=11.4
dist: jammy
name: "ES 11.4 preview"
if: type = push AND fork = false
- stage: Enterprise
env: srv=maxscale
dist: jammy
name: "Maxscale"
- stage: Community
env: srv=mariadb v=11.4
os: windows
language: shell
name: "CS 11.4 - Windows"
- stage: Community
env: srv=mariadb v=10.5 local=1
dist: bionic
name: "CS 10.5"
node_js: 16
- env: srv=mariadb v=10.11 local=1
dist: jammy
name: "CS 10.11"
- env: srv=mariadb v=11.2 local=1 CLEAR_TEXT=1
dist: jammy
name: "CS 11.2"
- env: srv=mariadb v=11.4 local=1
dist: jammy
name: "CS 11.4"
- env: srv=mariadb v=11.5
name: "CS 11.5"
- env: srv=mariadb v=11.6-rc
name: "CS 11.6"
- env: srv=mysql v=8.4
name: "MySQL 8.4"
- env: srv=mysql v=9.0
name: "MySQL 9.0"
- env: srv=build
name: "CS build"
after_failure:
- if [ "$srv" == "maxscale" ] ; then docker-compose -f ${COMPOSE_FILE} exec -u root maxscale tail -500 /var/log/maxscale/maxscale.log; fi