Skip to content

Commit

Permalink
Use nosetests to run azure-cli core tests in parallel (Azure#1468)
Browse files Browse the repository at this point in the history
* Use nosetests to run azure-cli core tests in parallel

reduce test time for 20 seconds

* Fix the version of nose in requirement.txt
  • Loading branch information
troydai authored Dec 5, 2016
1 parent 995a395 commit 96f37e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ script:
- export PYTHONPATH=$PATHONPATH:./src
- python -m azure.cli -h
- python ./scripts/run_pylint.py
- python -m unittest discover -s src/azure-cli/azure/cli/tests --buffer
- python -m unittest discover -s src/azure-cli-core/azure/cli/core/tests --buffer
- nosetests -v --processes=-1 --process-timeout=600 -w src/azure-cli/azure/cli/tests
- nosetests -v --processes=-1 --process-timeout=600 -w src/azure-cli-core/azure/cli/core/tests
- python scripts/command_modules/test.py
- sh scripts/package_verify.sh
- python scripts/license/verify.py
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ argcomplete==1.3.0
colorama==0.3.7
jmespath
mock==1.3.0
nose==1.3.7
paramiko==2.0.2
pip
pygments==2.1.3
Expand Down

0 comments on commit 96f37e1

Please sign in to comment.