Skip to content

Commit

Permalink
chore: run specified test alone
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed Jul 13, 2020
1 parent 87bc347 commit 939d3d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,42 @@ matrix:
- name: "Python 2.7 Basic Setup"
python: 2.7
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"
python: 3.6
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"
python: 3.7
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"
python: 3.8
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"
python: 2.7
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"
python: 3.6
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"
python: 3.7
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"
python: 3.8
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"
python: 3.6
Expand Down
2 changes: 1 addition & 1 deletion bench/tests/test_setup_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_setup_production(self):
bench.utils.exec_cmd("sudo bench disable-production", cwd=bench_path)


def production_setup(self):
def production(self):
try:
self.test_setup_production()
except Exception:
Expand Down

0 comments on commit 939d3d5

Please sign in to comment.