mirror of
https://github.com/mariadb-corporation/mariadb-connector-python.git
synced 2025-07-24 09:59:50 +00:00
Travis fixes
This commit is contained in:
@ -54,11 +54,10 @@ matrix:
|
||||
# - env: DB=mariadb:10.4 PYTHON_VER="pypy3.6-7.3.1"
|
||||
- env: DB=mariadb:10.4 BENCH=1
|
||||
- env: DB=mariadb:10.4 PYTHON_VER="3.6.0" MAXSCALE_VERSION=2.2.9 TEST_PORT=4007 TEST_USER=bob TEXT_DATABASE=test2 SKIP_LEAK=1
|
||||
- env: DB=mariadb:10.1 PYTHON_VER="3.6.0" TEST_RESET_SESSION=0
|
||||
- env: DB=mariadb:10.2 PYTHON_VER="3.6.0"
|
||||
- env: DB=mariadb:10.3 PYTHON_VER="3.6.0"
|
||||
- env: DB=mysql:5.6 PYTHON_VER="3.6.0" TEST_RESET_SESSION=0
|
||||
- env: DB=mysql:5.7 PYTHON_VER="3.6.0"
|
||||
- env: DB=mysql:8.0 PYTHON_VER="3.6.0"
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -68,7 +68,7 @@ else
|
||||
fi
|
||||
|
||||
if [ -n "$BENCH" ] ; then
|
||||
pyenv install pypy3.6-7.2.0
|
||||
# pyenv install pypy3.6-7.2.0
|
||||
# pyenv install miniconda3-4.3.30
|
||||
pyenv install 3.8.0
|
||||
|
||||
@ -96,17 +96,17 @@ if [ -n "$BENCH" ] ; then
|
||||
|
||||
# python -m pyperf compare_to mysql_bench_miniconda3_4_3_30.json mariadb_bench_miniconda3_4_3_30.json --table
|
||||
|
||||
export PYENV_VERSION=pypy3.6-7.2.0
|
||||
python setup.py build
|
||||
python setup.py install
|
||||
pip install mysql-connector-python pyperf
|
||||
cd testing
|
||||
export TEST_MODULE=mariadb
|
||||
python bench.py -o mariadb_bench_pypy3_6.json --inherit-environ=TEST_USER,TEST_HOST,TEST_PORT
|
||||
export TEST_MODULE=mysql.connector
|
||||
python bench.py -o mysql_bench_pypy3_6.json --inherit-environ=TEST_USER,TEST_HOST,TEST_PORT
|
||||
python -m pyperf compare_to mysql_bench_pypy3_6.json mariadb_bench_pypy3_6.json --table
|
||||
cd ..
|
||||
# export PYENV_VERSION=pypy2.6-7.2.0
|
||||
# python setup.py build
|
||||
# python setup.py install
|
||||
# pip install mysql-connector-python pyperf
|
||||
# cd testing
|
||||
# export TEST_MODULE=mariadb
|
||||
# python bench.py -o mariadb_bench_pypy3_6.json --inherit-environ=TEST_USER,TEST_HOST,TEST_PORT
|
||||
# export TEST_MODULE=mysql.connector
|
||||
# python bench.py -o mysql_bench_pypy3_6.json --inherit-environ=TEST_USER,TEST_HOST,TEST_PORT
|
||||
# python -m pyperf compare_to mysql_bench_pypy3_6.json mariadb_bench_pypy3_6.json --table
|
||||
# cd ..
|
||||
|
||||
# python -m pyperf compare_to mysql_bench.json mariadb_bench.json mysql_bench_pypy3_6.json mariadb_bench_pypy3_6.json \
|
||||
# mysql_bench_miniconda3_4_3_30.json mariadb_bench_miniconda3_4_3_30.json --table
|
||||
|
Reference in New Issue
Block a user