@@ -5,11 +5,6 @@ sudo: true
5
5
git :
6
6
depth : 1
7
7
8
- cache :
9
- - pip
10
- - npm
11
- - yarn
12
-
13
8
addons :
14
9
mariadb : ' 10.3'
15
10
@@ -30,18 +25,18 @@ matrix:
30
25
env : TEST=bench
31
26
script : python bench/tests/test_init.py TestBenchInit.basic
32
27
33
- - name : " Python 3.7 Production Setup"
34
- python : 3.7
28
+ - name : " Python 3.10 Basic Setup"
29
+ python : " 3.10 "
35
30
env : TEST=bench
36
- script : python bench/tests/test_setup_production .py TestSetupProduction.production
31
+ script : python bench/tests/test_init .py TestBenchInit.basic
37
32
38
- - name : " Python 3.8 Production Setup"
39
- python : 3.8
33
+ - name : " Python 3.7 Production Setup"
34
+ python : 3.7
40
35
env : TEST=bench
41
36
script : python bench/tests/test_setup_production.py TestSetupProduction.production
42
37
43
- - name : " Python 3.9 Production Setup"
44
- python : 3.9
38
+ - name : " Python 3.10 Production Setup"
39
+ python : " 3.10 "
45
40
env : TEST=bench
46
41
script : python bench/tests/test_setup_production.py TestSetupProduction.production
47
42
@@ -50,31 +45,24 @@ matrix:
50
45
env : TEST=bench
51
46
script : python -m unittest -v bench.tests.test_utils && python -m unittest -v bench.tests.test_init
52
47
53
- - name : " Python 3.8 Tests"
54
- python : 3.8
55
- env : TEST=bench
56
- script : python -m unittest -v bench.tests.test_utils && python -m unittest -v bench.tests.test_init
57
-
58
- - name : " Python 3.9 Tests"
59
- python : 3.9
48
+ - name : " Python 3.10 Tests"
49
+ python : " 3.10"
60
50
env : TEST=bench
61
51
script : python -m unittest -v bench.tests.test_utils && python -m unittest -v bench.tests.test_init
62
52
63
53
install :
64
- - pip3 install urllib3 pyOpenSSL ndg-httpsclient pyasn1
54
+ - python -m pip install -U --no-cache-dir --force-reinstall urllib3 pyOpenSSL ndg-httpsclient pyasn1 wheel setuptools pip
65
55
66
56
- if [ $TEST == "bench" ];then
67
- wget -q -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz;
68
- tar -xf /tmp/wkhtmltox.tar.xz -C /tmp;
69
- sudo mv /tmp/wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf;
70
- sudo chmod o+x /usr/local/bin/wkhtmltopdf;
57
+ wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb;
58
+ sudo apt install ./wkhtmltox_0.12.6-1.focal_amd64.deb;
71
59
72
60
nvm install 14;
73
61
nvm use 14;
74
62
75
63
mkdir -p ~/.bench;
76
64
cp -r $TRAVIS_BUILD_DIR/* ~/.bench;
77
- pip3 install -q -U -e ~/.bench;
65
+ python -m pip install -U -e ~/.bench;
78
66
79
67
mysql -u root -e "SET GLOBAL character_set_server = 'utf8mb4'";
80
68
mysql -u root -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'";
0 commit comments