mirror of
https://github.com/mariadb-corporation/mariadb-connector-cpp.git
synced 2025-07-22 18:27:20 +00:00
98 lines
2.2 KiB
YAML
98 lines
2.2 KiB
YAML
os: linux
|
|
dist: focal
|
|
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
|
|
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=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.8
|
|
os: windows
|
|
language: shell
|
|
name: "CS 10.8 - Windows"
|
|
- env: srv=mariadb v=10.3 local=1
|
|
name: "CS 10.3"
|
|
- env: srv=mariadb v=10.4 local=1
|
|
name: "CS 10.4"
|
|
- env: srv=mariadb v=10.5 local=1
|
|
name: "CS 10.5"
|
|
- env: srv=mariadb v=10.7 local=1
|
|
name: "CS 10.7"
|
|
- env: srv=mariadb v=10.8 local=1
|
|
name: "CS 10.8"
|
|
- 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"
|
|
|
|
script: sudo ./travis.sh
|