mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-10 02:22:27 +00:00
add deploy command inside deploy stage (#41)
* fix redundant python3.7 tests
This commit is contained in:
16
.travis.yml
16
.travis.yml
@@ -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:
|
||||||
|
Reference in New Issue
Block a user