forked from mariadb-corporation/mariadb-connector-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
118 lines (108 loc) · 2.81 KB
/
.travis.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
os: linux
dist: jammy
sudo: true
language: c
services: docker
addons:
hosts:
- mariadb.example.com
cache:
apt: true
ccache: true
directories:
- $HOME/docker
before_install:
- git clone https://github.com/mariadb-corporation/connector-test-machine.git
# Load cached docker images
- if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
install:
- |-
if [ -z "$server_branch" ] ; then
case $TRAVIS_OS_NAME in
windows)
connector-test-machine/launch.bat -t "$srv" -v "$v" -d testcpp
;;
linux)
source connector-test-machine/launch.sh -t "$srv" -v "$v" -d testcpp -l "$local" -n "$native"
;;
esac
fi
env: local=0
stages:
- Minimal
- name: Enterprise
if: type = push AND fork = false
- Community
jobs:
fast_finish: true
allow_failures:
- env: srv=build
- env: srv=xpand
- env: srv=mysql v=5.7
- env: srv=mysql v=8.0
- env: srv=mariadb v=10.6
os: windows
- os: osx
- os: linux
arch: s390x
dist: focal
- env: srv=maxscale MAXSCALE_TEST_DISABLE=true
- env: srv=xpand
# - env: srv=skysql SKYSQL=true
# - env: srv=skysql-ha SKYSQL_HA=true MAXSCALE_TEST_DISABLE=true
include:
- stage: Minimal
env: srv=mariadb v=10.6 local=1
name: "CS 10.6"
- env: srv=mariadb-es v=10.6
name: "ES 10.6"
if: type = push AND fork = false
- stage: Enterprise
env: srv=mariadb-es v=10.4
name: "ES 10.4"
- env: srv=mariadb-es v=10.5
name: "ES 10.5"
# - env: srv=mariadb v=10.6 local=1 BENCH=true
#name: "benchmark"
- env: srv=mariadb-es-test v=23.08
name: "ES 23.08"
if: type = push AND fork = false
- env: srv=maxscale MAXSCALE_TEST_DISABLE=true
name: "Maxscale"
# - env: srv=skysql SKYSQL=true
# name: "SkySQL"
# - env: srv=skysql-ha SKYSQL_HA=true MAXSCALE_TEST_DISABLE=true
# name: "SkySQL with replication"
- env: srv=xpand
name: "Xpand"
- stage: Community
env: srv=mariadb v=10.4
os: windows
language: shell
name: "CS 10.4 - Windows"
- env: srv=mariadb v=10.11 local=1
name: "CS 10.11"
- env: srv=mariadb v=10.5 local=1
name: "CS 10.5"
- env: srv=mariadb v=11.0 local=1
name: "CS 11.0"
- env: srv=mariadb v=11.1 local=1
name: "CS 11.1"
- env: srv=mariadb v=11.2 local=1
name: "CS 11.2"
- env: srv=mysql v=5.7
name: "MySQL 5.7"
- env: srv=mysql v=8.0
name: "MySQL 8.0"
- env: srv=build
name: "CS build"
- os: osx
compiler: clang
before_script:
- brew install openssl
- brew install libiodbc
- os: linux
arch: s390x
dist: focal
env: srv=mariadb v=10.11 local=1
script: ./travis.sh