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 dist: xenial
sudo: false sudo: false
cache: false cache: false
python: "3.7"
stages: stages:
- name: deploy - 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: before_install:
- pip install -U pip - pip install -U pip
@@ -19,17 +18,20 @@ script:
jobs: jobs:
include: 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 - stage: deploy
python: "3.7"
deploy:
on: on:
branch: master branch: master
repo: davegallant/rfd
provider: pypi provider: pypi
user: __token__ user: __token__
password: password: