Skip to content

Commit 1e9d51a

Browse files
committed
Update Travis config
1 parent cc7833b commit 1e9d51a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ install:
4040
fi
4141
- virtualenv --python="$HOME/virtualenv/python3.6/bin/python" "$HOME/virtualenvs/venv-poetry"
4242
- $HOME/virtualenvs/venv-poetry/bin/pip install poetry --pre
43-
- $HOME/virtualenvs/venv-poetry/bin/poetry install -v
4443
- $HOME/virtualenvs/venv-poetry/bin/poetry build -v
45-
- find dist/ -iname pendulum*.tar.gz -exec pip install -e {} --no-deps \;
46-
- python -c "import pendulum; print(pendulum.__file__)"
44+
- |
45+
if [ "$PENDULUM_EXTENSIONS" == "1" ]; then
46+
find dist/ -iname pendulum*.whl -exec unzip {} 'pendulum/*' -d pendulum/ \;
47+
fi
4748
4849
script: pytest --cov=pendulum --cov-config=.coveragerc tests/
4950

0 commit comments

Comments
 (0)