Skip to content

Commit

Permalink
Use --force-reinstall when installing tox
Browse files Browse the repository at this point in the history
This attempts to fix the recent failures on Windows, as
suggested by tox-dev/tox#791
  • Loading branch information
nicoddemus committed May 14, 2019
1 parent 58e6a09 commit eec4bdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ env:
- PYTEST_ADDOPTS=-vv

install:
- python -m pip install --upgrade --pre tox
- python -m pip install --upgrade pip
- python -m pip install --upgrade --pre --force-reinstall tox

jobs:
include:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
condition: eq(variables['python.needs_vc'], True)
displayName: 'Install VC for py27'

- script: $(python.exe) -m pip install --upgrade pip && $(python.exe) -m pip install tox
- script: $(python.exe) -m pip install --upgrade pip && $(python.exe) -m pip install --force-reinstall tox
displayName: 'Install tox'

- script: |
Expand Down

0 comments on commit eec4bdc

Please sign in to comment.