mirror of
https://github.com/frappe/bench.git
synced 2025-02-02 10:58:24 +00:00
ci: Bump to mariadb 10.6
This commit is contained in:
parent
3b173f92c8
commit
1a062263cf
18
.travis.yml
18
.travis.yml
@ -6,48 +6,40 @@ git:
|
|||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
mariadb: '10.3'
|
mariadb: '10.6'
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: "Python 3.7 Basic Setup"
|
- name: "Python 3.7 Basic Setup"
|
||||||
python: 3.7
|
python: 3.7
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_init.py TestBenchInit.basic
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 3.8 Basic Setup"
|
- name: "Python 3.8 Basic Setup"
|
||||||
python: 3.8
|
python: 3.8
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_init.py TestBenchInit.basic
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 3.9 Basic Setup"
|
- name: "Python 3.9 Basic Setup"
|
||||||
python: 3.9
|
python: 3.9
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_init.py TestBenchInit.basic
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 3.10 Basic Setup"
|
- name: "Python 3.10 Basic Setup"
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_init.py TestBenchInit.basic
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 3.7 Production Setup"
|
- name: "Python 3.7 Production Setup"
|
||||||
python: 3.7
|
python: 3.7
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
||||||
|
|
||||||
- name: "Python 3.10 Production Setup"
|
- name: "Python 3.10 Production Setup"
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
||||||
|
|
||||||
- name: "Python 3.7 Tests"
|
- name: "Python 3.7 Tests"
|
||||||
python: 3.7
|
python: 3.7
|
||||||
env: TEST=bench
|
|
||||||
script: python -m unittest -v bench.tests.test_utils && python -m unittest -v bench.tests.test_init
|
script: python -m unittest -v bench.tests.test_utils && python -m unittest -v bench.tests.test_init
|
||||||
|
|
||||||
- name: "Python 3.10 Tests"
|
- name: "Python 3.10 Tests"
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
env: TEST=bench
|
|
||||||
script: python -m unittest -v bench.tests.test_utils && python -m unittest -v bench.tests.test_init
|
script: python -m unittest -v bench.tests.test_utils && python -m unittest -v bench.tests.test_init
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@ -62,7 +54,7 @@ install:
|
|||||||
python -m pip install -U --no-cache-dir --force-reinstall urllib3 pyOpenSSL ndg-httpsclient pyasn1 wheel setuptools pip;
|
python -m pip install -U --no-cache-dir --force-reinstall urllib3 pyOpenSSL ndg-httpsclient pyasn1 wheel setuptools pip;
|
||||||
python -m pip install -U -e ~/.bench;
|
python -m pip install -U -e ~/.bench;
|
||||||
|
|
||||||
- mysql -u root -e "SET GLOBAL character_set_server = 'utf8mb4'";
|
- mariadb --host 127.0.0.1 --port 3306 -u root -e "UPDATE mysql.user SET Password=PASSWORD('travis') WHERE User='root'";
|
||||||
mysql -u root -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'";
|
mariadb --host 127.0.0.1 --port 3306 -u root -ptravis -e "SET GLOBAL character_set_server = 'utf8mb4'";
|
||||||
mysql -u root -e "UPDATE mysql.user SET Password=PASSWORD('travis') WHERE User='root'";
|
mariadb --host 127.0.0.1 --port 3306 -u root -ptravis -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'";
|
||||||
mysql -u root -e "FLUSH PRIVILEGES";
|
mariadb --host 127.0.0.1 --port 3306 -u root -ptravis -e "FLUSH PRIVILEGES";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user