add deploy command inside deploy stage (#41)

* fix redundant python3.7 tests
This commit is contained in:
Dave Gallant
2019-10-16 22:45:55 -04:00
committed by GitHub
parent 4fbeef7c60
commit 79738ce90d

View File

@@ -2,11 +2,10 @@ language: python
dist: xenial
sudo: false
cache: false
python: "3.7"
stages:
- name: deploy
if: branch = master
# require the branch name to be master (note for PRs this is the base branch name)
if: branch = master AND NOT type IN (pull_request)
before_install:
- pip install -U pip
@@ -19,17 +18,20 @@ script:
jobs:
include:
- python: 2.7
- python: "2.7"
- python: 3.5
- python: "3.5"
- python: 3.6
- python: "3.6"
- python: 3.7
- python: "3.7"
- stage: deploy
python: "3.7"
deploy:
on:
branch: master
repo: davegallant/rfd
provider: pypi
user: __token__
password: