Skip to content

Commit

Permalink
[misc] using common default servers test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Dec 12, 2023
1 parent ae34d63 commit 9b06b33
Showing 1 changed file with 10 additions and 49 deletions.
59 changes: 10 additions & 49 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
sudo: true
os: linux
dist: bionic
language: c
services: docker
addons:
hosts:
- mariadb.example.com

before_install:
- git clone https://github.com/mariadb-corporation/connector-test-machine.git

install:
- source connector-test-machine/launch.sh -t "$srv" -v "$v" -d testp -l "$local"
- export MAIN_PATH=`pwd`
# install pyenv to test multiple python version
- git clone https://github.com/pyenv/pyenv.git ~/.pyenv
Expand Down Expand Up @@ -50,52 +40,23 @@ install:
- cd $MAIN_PATH

env:
global:
- PYTHON_VER="3.10"
- HOMEBREW_NO_AUTO_UPDATE=1
- HOMEBREW_NO_INSTALL_CLEANUP=1
global: PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0

jobs:
fast_finish: true
allow_failures:
- env: srv=maxscale
- env: srv=skysql RUN_LONG_TEST=0
- env: srv=skysql-ha RUN_LONG_TEST=0
- env: srv=mysql v=5.7
- env: srv=mysql v=8.0
import: mariadb-corporation/connector-test-machine:common-build.yml@master

jobs:
include:
- env: srv=mariadb v=10.6 local=1
- env: srv=mariadb v=10.7 local=1
- env: srv=mariadb v=10.8 local=1
- env: srv=mariadb v=10.11 local=1
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.8"
- stage: Language
env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.8"
name: "Python 3.8"
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.9"
name: "Python 3.9"
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.10"
name: "Python 3.10"
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.11"
name: "Python 3.11"
- env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.12"
# - env: srv=mariadb v=10.11 local=1 PYTHON_VER="3.10" BENCH=1
- if: type = push AND fork = false
env: srv=maxscale
- if: type = push AND fork = false
env: srv=mariadb-es v=10.6
- if: type = push AND fork = false
env: srv=skysql RUN_LONG_TEST=0
- if: type = push AND fork = false
env: srv=skysql-ha RUN_LONG_TEST=0
- if: type = push AND fork = false
env: srv=build v=10.11
- if: type = push AND fork = false
env: srv=mysql v=5.7
- if: type = push AND fork = false
env: srv=mysql v=8.0
# - env: srv=mariadb v=10.8 local=1 PYTHON_VER="3.10"
# os: osx
# osx_image: xcode13.3
# compiler: gcc

notifications:
email: false
name: "Python 3.12"

script:
- python --version
Expand Down

0 comments on commit 9b06b33

Please sign in to comment.