mirror of
https://github.com/frappe/bench.git
synced 2024-11-18 11:05:12 +00:00
ci: Run all builds on 3.7, 3.8, 3.9
* Drop CI testing for older versions: 2.7, 3.5, 3.6
This commit is contained in:
parent
0480b898ae
commit
89bc45e2d0
49
.travis.yml
49
.travis.yml
@ -15,35 +15,20 @@ addons:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: "Python 2.7 Basic Setup"
|
|
||||||
python: 2.7
|
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_init.py TestBenchInit.basic
|
|
||||||
|
|
||||||
- name: "Python 3.6 Basic Setup"
|
|
||||||
python: 3.6
|
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_init.py TestBenchInit.basic
|
|
||||||
|
|
||||||
- name: "Python 3.7 Basic Setup"
|
- name: "Python 3.7 Basic Setup"
|
||||||
python: 3.7
|
python: 3.7
|
||||||
env: TEST=bench
|
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 Production Setup"
|
- name: "Python 3.8 Basic Setup"
|
||||||
python: 3.8
|
python: 3.8
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 2.7 Production Setup"
|
- name: "Python 3.9 Basic Setup"
|
||||||
python: 2.7
|
python: 3.9
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 3.6 Production Setup"
|
|
||||||
python: 3.6
|
|
||||||
env: TEST=bench
|
|
||||||
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
|
||||||
|
|
||||||
- name: "Python 3.7 Production Setup"
|
- name: "Python 3.7 Production Setup"
|
||||||
python: 3.7
|
python: 3.7
|
||||||
@ -55,20 +40,25 @@ matrix:
|
|||||||
env: TEST=bench
|
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 2.7 Tests"
|
- name: "Python 3.9 Production Setup"
|
||||||
python: 2.7
|
python: 3.9
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.test_init
|
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
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.test_init
|
script: python -m unittest -v bench.tests.test_init
|
||||||
|
|
||||||
- name: "Python 3.5 Easy Install"
|
- name: "Python 3.8 Tests"
|
||||||
python: 3.5
|
python: 3.8
|
||||||
env: TEST=easy_install
|
env: TEST=bench
|
||||||
script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose
|
script: python -m unittest -v bench.tests.test_init
|
||||||
|
|
||||||
|
- name: "Python 3.9 Tests"
|
||||||
|
python: 3.9
|
||||||
|
env: TEST=bench
|
||||||
|
script: python -m unittest -v bench.tests.test_init
|
||||||
|
|
||||||
- name: "Python 3.7 Easy Install"
|
- name: "Python 3.7 Easy Install"
|
||||||
python: 3.7
|
python: 3.7
|
||||||
@ -80,6 +70,11 @@ matrix:
|
|||||||
env: TEST=easy_install
|
env: TEST=easy_install
|
||||||
script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose
|
script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose
|
||||||
|
|
||||||
|
- name: "Python 3.9 Easy Install"
|
||||||
|
python: 3.9
|
||||||
|
env: TEST=easy_install
|
||||||
|
script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
- pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user