From 396ea4d471ff61d8d1f0b89f6ad1e5f5f820888d Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sun, 24 Nov 2019 15:12:31 +0100 Subject: [PATCH] Add deploy section. --- .travis.yml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5443586..e3bce4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,15 +2,27 @@ language: python dist: xenial cache: pip python: - - "2.7" - - "3.5" - - "3.6" - - "3.7" - - "3.8" - - "pypy3" +- '2.7' +- '3.5' +- '3.6' +- '3.7' +- '3.8' +- pypy3 services: - - redis-server +- redis-server install: pip install tox-travis codecov script: tox after_success: - - codecov +- codecov +deploy: + provider: pypi + user: jazzband + server: https://jazzband.co/projects/django-defender/upload + distributions: sdist bdist_wheel + skip_existing: true + password: + secure: d/PVFgBDMpG6UvBOxXBLH4vc7+tiPsjhq4YLgXfX0iXbdNHUnnCyDLg/XUQ7x0e7kRj+lhmBzytZxu3IpOY+5MuWk4JTqwoBHGuUlmTC9XEVvioqd/nFW7qVe36YKZHKuMDlmwBNQarJZdSBUFAoCfklZKI09sXA1qc8E3BLAb8= + on: + tags: true + repo: jazzband/django-defender + python: 3.7