Skip to content

Commit 41203c2

Browse files
author
Marica Odagaki
committed
Force pip<10 to install sdist package
Workaround for tox-dev/tox#467
1 parent de8de27 commit 41203c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ env:
1515
install:
1616
- "pip install tox tox-travis"
1717
script:
18-
- "tox --force-dep pip$TEST_PIP_VERSION"
18+
- "INSTALL_COMMAND_ARGS=${TEST_PIP_VERSION+--ignore-installed} tox -force-dep pip$TEST_PIP_VERSION"
1919
notifications:
2020
email: false

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ python =
1111
pypy: pypy
1212

1313
[testenv]
14+
install_command = python -m pip install {env:INSTALL_COMMAND_ARGS:} {opts} {packages}
1415
commands = py.test --cov make_lambda_package {posargs}
1516
deps =
1617
pip

0 commit comments

Comments
 (0)