Skip to content

Commit f193371

Browse files
committed
travi-ci: install test deps in cibuildwheel test venv
[skip ci]
1 parent ffd742b commit f193371

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
- secure: FmQEUPLe9lBG5rT7qkrPwZsOyULX3pmKgru4bC3ZrST6ibCaAmT/TfLZ/XqHrvGeaP0vKu7daqlgrpbIkzBfxeJ+UZYL4T5F2yTLSgoigs4mGaDgt3zZvuzGEffJV+drgQVuHeEBKtT+f3BQ1UnLTKREjgRgwbIVmQ6GHKxwU1s=
4545
- CIBW_PLATFORM=linux
4646
- CIBW_BUILD="cp36-*"
47-
- CIBW_BEFORE_BUILD="tar -xf /host/$HOME/downloads/\$(uname -m)/*.tar.gz -C / && pip install -r requirements/wheel.txt -r requirements/test.txt"
47+
- CIBW_BEFORE_BUILD="tar -xf /host/$HOME/downloads/\$(uname -m)/*.tar.gz -C / && pip install -r requirements/wheel.txt"
4848
- CIBW_ENVIRONMENT="PATH=/opt/bin:\$PATH"
49-
- CIBW_TEST_COMMAND="py.test {project}/tests"
49+
- CIBW_TEST_COMMAND="pip install -r {project}/requirements/test.txt && py.test {project}/tests"
5050
before_script:
5151
- git clone https://github.com/pkgcore/pkgdist.git
5252
- pkgdist/ci.sh

0 commit comments

Comments
 (0)