Skip to content

Commit e124acd

Browse files
Workaround Travis CI dpl dependency issue
1 parent dbd1165 commit e124acd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ after_success:
3333
- md5sum ${PKG_RELEASE_EL7} > ${PKG_RELEASE_EL7}.md5 && md5sum --check ${PKG_RELEASE_EL7}.md5
3434
- md5sum ${PKG_RELEASE_1404} > ${PKG_RELEASE_1404}.md5 && md5sum --check ${PKG_RELEASE_1404}.md5
3535

36-
before_deploy: PKG_VERSION=$(python -c "import f5; print(f5.__version__)")
36+
before_deploy:
37+
- PKG_VERSION=$(python -c "import f5; print(f5.__version__)")
38+
# Workaround https://github.com/travis-ci/dpl/issues/1235
39+
- python3 -m venv ~/venv
40+
- source ~/venv/bin/activate
3741
deploy:
3842
- provider: pypi
3943
user: $PYPI_USER

0 commit comments

Comments
 (0)