mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-07 09:02:32 +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
|
||||
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:
|
||||
|
Reference in New Issue
Block a user