Skip to content

Commit eec4bdc

Browse files
committed
Use --force-reinstall when installing tox
This attempts to fix the recent failures on Windows, as suggested by tox-dev/tox#791
1 parent 58e6a09 commit eec4bdc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ env:
1414
- PYTEST_ADDOPTS=-vv
1515

1616
install:
17-
- python -m pip install --upgrade --pre tox
17+
- python -m pip install --upgrade pip
18+
- python -m pip install --upgrade --pre --force-reinstall tox
1819

1920
jobs:
2021
include:

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
condition: eq(variables['python.needs_vc'], True)
9595
displayName: 'Install VC for py27'
9696

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

100100
- script: |

0 commit comments

Comments
 (0)