add download setting for tox

This commit is contained in:
dswij 2020-10-02 00:56:59 +07:00
parent c83a16898f
commit cc81f9ed06
2 changed files with 2 additions and 3 deletions

View File

@ -40,9 +40,6 @@ matrix:
- env: TOXENV=asyncio
python: 3.8
dist: bionic
before_install:
- pip install -U pip
- pip --version
install:
- |
if [[ ! -z "$PYPY_VERSION" ]]; then
@ -63,6 +60,7 @@ notifications:
skip_join: true
channels:
- irc.freenode.org#scrapy
deploy:
provider: pypi
distributions: "sdist bdist_wheel"

View File

@ -21,6 +21,7 @@ passenv =
AWS_SECRET_ACCESS_KEY
GCS_TEST_FILE_URI
GCS_PROJECT_ID
download = true #allow tox virtualenv to upgarde pip/wheel/setuptools
commands =
py.test --cov=scrapy --cov-report= {posargs:--durations=10 docs scrapy tests}
install_command =