Skip to content

Commit

Permalink
Disable parallel logic by default because sometimes it doesn't work d… (
Browse files Browse the repository at this point in the history
#37)

* Disable parallel logic by default because sometimes it doesn't work depending on user's environment

* Fix .travis.yml
  • Loading branch information
kyuridenamida authored Dec 25, 2018
1 parent 2cbbed3 commit 7b39699
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ script:
- flake8 --ignore=E501, W605
- autopep8 -r . --diff | tee check_autopep8
- test ! -s check_autopep8
- atcoder-tools gen arc050 --without-login --no_parallel
- atcoder-tools gen arc050 --without-login
- nosetests --with-coverage --cover-package=atcodertools
- codecov
notifications:
Expand Down
6 changes: 3 additions & 3 deletions atcodertools/tools/envgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ def main(prog, args):
get_default_replacement_path('java'))
)

parser.add_argument("--no_parallel",
parser.add_argument("--parallel",
action="store_true",
help="Prepare problem directories one by one not using multi processors.",
help="Prepare problem directories asynchronously using multi processors.",
default=False)

parser.add_argument("--save-no-session-cache",
Expand Down Expand Up @@ -263,7 +263,7 @@ def main(prog, args):
args.replacement if args.replacement is not None else get_default_replacement_path(
args.lang),
args.lang,
not args.no_parallel)
args.parallel)


if __name__ == "__main__":
Expand Down

0 comments on commit 7b39699

Please sign in to comment.