mirror of
https://github.com/frappe/bench.git
synced 2025-01-23 23:18:24 +00:00
chore: run specified test alone
This commit is contained in:
parent
87bc347b5c
commit
939d3d5c6d
16
.travis.yml
16
.travis.yml
@ -18,42 +18,42 @@ matrix:
|
|||||||
- name: "Python 2.7 Basic Setup"
|
- name: "Python 2.7 Basic Setup"
|
||||||
python: 2.7
|
python: 2.7
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.basic
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 3.6 Basic Setup"
|
- name: "Python 3.6 Basic Setup"
|
||||||
python: 3.6
|
python: 3.6
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.basic
|
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 -m unittest -v bench.tests.basic
|
script: python bench/tests/test_init.py TestBenchInit.basic
|
||||||
|
|
||||||
- name: "Python 3.8 Production Setup"
|
- name: "Python 3.8 Production Setup"
|
||||||
python: 3.8
|
python: 3.8
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.production_setup
|
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
||||||
|
|
||||||
- name: "Python 2.7 Production Setup"
|
- name: "Python 2.7 Production Setup"
|
||||||
python: 2.7
|
python: 2.7
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.production_setup
|
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
||||||
|
|
||||||
- name: "Python 3.6 Production Setup"
|
- name: "Python 3.6 Production Setup"
|
||||||
python: 3.6
|
python: 3.6
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.production_setup
|
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
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.production_setup
|
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
||||||
|
|
||||||
- name: "Python 3.8 Production Setup"
|
- name: "Python 3.8 Production Setup"
|
||||||
python: 3.8
|
python: 3.8
|
||||||
env: TEST=bench
|
env: TEST=bench
|
||||||
script: python -m unittest -v bench.tests.production_setup
|
script: python bench/tests/test_setup_production.py TestSetupProduction.production
|
||||||
|
|
||||||
- name: "Python 3.6 Easy Install"
|
- name: "Python 3.6 Easy Install"
|
||||||
python: 3.6
|
python: 3.6
|
||||||
|
@ -33,7 +33,7 @@ class TestSetupProduction(TestBenchBase):
|
|||||||
bench.utils.exec_cmd("sudo bench disable-production", cwd=bench_path)
|
bench.utils.exec_cmd("sudo bench disable-production", cwd=bench_path)
|
||||||
|
|
||||||
|
|
||||||
def production_setup(self):
|
def production(self):
|
||||||
try:
|
try:
|
||||||
self.test_setup_production()
|
self.test_setup_production()
|
||||||
except Exception:
|
except Exception:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user