Skip to content

Commit

Permalink
travis: Add publishing of releases to PyPI
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
stephenfin committed Apr 10, 2020
1 parent c58f491 commit f4e57f1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .travis.yml
Expand Up @@ -10,7 +10,6 @@ python:
- "pypy3"
- "nightly"


services:
- mysql
- postgresql
Expand Down Expand Up @@ -89,3 +88,22 @@ matrix:
- python: "nightly"
- env: DJANGO=master
- env: TOX_ENV=functional-mongodb

stages:
- test
- deploy

jobs:
include:
- stage: deploy
python: 3.8
install: skip # no tests, no dependencies needed
script: skip # we're not running tests
deploy:
provider: pypi
user: ZuluPro # TODO - is this correct
password:
secure: "TODO" # TODO - populate this
on:
tags: true
distributions: sdist bdist_wheel

0 comments on commit f4e57f1

Please sign in to comment.