Skip to content

Commit f9cb34a

Browse files
committed
allow travis to push releases on PyPi
1 parent ea6fd54 commit f9cb34a

File tree

4 files changed

+31
-24
lines changed

4 files changed

+31
-24
lines changed

.travis.yml

+20-16
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
11
language: python
2-
32
python:
4-
- 2.7
5-
- 3.4
6-
- 3.5
7-
- 3.6
8-
- 3.7
3+
- '2.7'
4+
- '3.4'
5+
- '3.5'
6+
- '3.6'
7+
- '3.7'
8+
- '3.8'
99
- pypy
1010
- pypy3
11-
12-
matrix:
13-
include:
14-
- python: 3.8-dev
15-
dist: xenial
11+
jobs:
1612
allow_failures:
1713
- python: pypy3
18-
- python: 3.8-dev
19-
14+
- python: '3.8'
2015
install:
2116
- pip install .[dev]
22-
2317
script:
2418
- inv cover qa
25-
2619
after_success:
2720
- pip install coveralls
2821
- coveralls --rcfile=coverage.rc
29-
- ./travis-bench-after-success.sh
22+
- "./travis-bench-after-success.sh"
23+
before_deploy:
24+
- inv assets
25+
deploy:
26+
provider: pypi
27+
user: "__token__"
28+
password:
29+
secure: Bhk0mw7iFn+kan/rBdegQe2gbvtTd12hCxZzHwZCCgyu6xCK4UT/6eW6KucT1BP5sOzCteYzRcdg5PBLLwXaKXuSVtGmdZwmQcVRgWuXCA9/9YdPJSCSO3dHoVYpiXP9Tc72qPVi/Wwj9t2U7V8IcGoH4NDJn8XM2dFSYHm/ZhXQCSBcXLjLx7EI1M7yXo4h3tLfEka9+VZ8jdEsP6NATaJIeBqo4X4hZj2n2ux6Q0CyxqQWsTx0iQUsKrML7a5lE9vz7Mk21NkZLb8LAg3lRrYEyC2rIdhXOxDED410MGpwMQDZ8MUF85vB1ri/EFLfcRvbFs8+W0vrqltmABlwoymvmtw4B/lbRyjmArjYKk8CCeK5z5KVx+QICrxXMEG/4CeS5vQCz/0uB+Fzu0Xv44kslOSaFewwow/arke80WzdzecBzAi+HANb1L7hufRb63tkmf0Uz3JX5HplI31FbT/pQoL1pZtFoHC9u3/iqYY39z/3Jv8+gop5ZX1WaIgxBxfCIVqx//p3pq9LYkI8zdFv54tD8UiKKJiwAzMIrYQJLkB5RtKBYxoyBXOdYb0H9vVWISXcwQVuKJiQWO/GDjE1KX3TApHSz73DqMemuG5BYDCf9qIbm49rYY57NyFNvgLJVZCwgrY5J9Otmk+e5sjGo3wkOWOriAO6QH7RqEI=
30+
on:
31+
tags: true
32+
skip_existing: true
33+
skip_cleanup: true

CONTRIBUTING.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Contributing
22
============
33

4-
flask-restx is open-source and very open to contributions.
4+
flask-restx is open-source and very open to contributions.
55

6-
If you're part of a corporation with an NDA, and you may require updating the license.
6+
If you're part of a corporation with an NDA, and you may require updating the license.
77
See Updating Copyright below
88

99
Submitting issues
@@ -35,7 +35,7 @@ If you want to contribute some code:
3535
7. add your change to the changelog
3636
8. submit your pull-request
3737
9. 2 Maintainers should review the code for bugfix and features. 1 maintainer for minor changes (such as docs)
38-
10. After review, a maintainer a will merge the PR. Maintainers should not merge their own PRs
38+
10. After review, a maintainer a will merge the PR. Maintainers should not merge their own PRs
3939

4040
There are some rules to follow:
4141

@@ -103,9 +103,15 @@ For local development, you may wish to run a local server. running the following
103103
104104
$ inv assets
105105
106-
NOTE: You'll need `NPM <https://docs.npmjs.com/getting-started/>`_ installed to do this.
106+
NOTE: You'll need `NPM <https://docs.npmjs.com/getting-started/>`_ installed to do this.
107107
If you're new to NPM, also check out `nvm <https://github.com/creationix/nvm/blob/master/README.md>`_
108108

109+
Release process
110+
---------------
111+
112+
The new releases are pushed on `Pypi.org <https://pypi.org/>`_ automatically
113+
from `travis-ci <https://travis-ci.org/>`_ when we add a new tag (unless the
114+
tests are failing).
109115

110116
Updating Copyright
111117
------------------

bumpr.rc

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ commit = true
55
tag = true
66
push = true
77
tests = tox
8-
publish =
9-
inv assets
10-
python setup.py sdist bdist_wheel upload
118
clean =
129
inv clean
1310
files =

flask_restx/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = '0.13.1.dev'
2+
__version__ = '0.0.1.dev1'
33
__description__ = 'Fully featured framework for fast, easy and documented API development with Flask'

0 commit comments

Comments
 (0)