Skip to content

Commit

Permalink
attempt to fix pypi publication
Browse files Browse the repository at this point in the history
travis' dpl command seems to be broken for python 2:

travis-ci/dpl#1232

Use focal image and use python3
  • Loading branch information
bcavagnolo committed Feb 18, 2021
1 parent c37fb04 commit 6344ff9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
services: docker
dist: focal

env:
global:
Expand All @@ -14,6 +15,7 @@ _python_template: &_python_template
before_install: cd client/
install: pip install -e .[test]
script: py.test
before_deploy: sudo apt-get remove -y python2 && sudo ln -sf /usr/bin/python3 /usr/bin/python && python --version
deploy:
provider: pypi
edge: true
Expand Down

0 comments on commit 6344ff9

Please sign in to comment.