Skip to content

Commit ffefa9d

Browse files
committed
Automatically publish github releases to PyPI
1 parent 985bacc commit ffefa9d

File tree

1 file changed

+25
-14
lines changed

1 file changed

+25
-14
lines changed

.travis.yml

+25-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
language: python
22

33
python:
4-
- "2.6"
5-
- "2.7"
6-
- "3.3"
7-
- '3.4'
8-
- '3.5'
9-
- pypy
10-
- pypy3
4+
- '2.6'
5+
- '2.7'
6+
- '3.3'
7+
- '3.4'
8+
- '3.5'
9+
- pypy
10+
- pypy3
1111

1212
env:
13-
- MONGOENGINE=0.8
14-
- MONGOENGINE=0.9
15-
- MONGOENGINE=0.10.0
16-
- MONGOENGINE=dev
13+
- MONGOENGINE=0.8
14+
- MONGOENGINE=0.9
15+
- MONGOENGINE=0.10.0
16+
- MONGOENGINE=dev
1717

1818
before_install:
1919
- travis_retry sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
@@ -43,9 +43,20 @@ script:
4343
- tox -e $(echo py$TRAVIS_PYTHON_VERSION-me$MONGOENGINE | tr -d . | sed -e 's/pypypy/pypy/') -- --with-coverage
4444

4545
notifications:
46-
irc: "irc.freenode.org#flask-mongoengine"
46+
irc: irc.freenode.org#flask-mongoengine
4747

4848
branches:
4949
only:
50-
- master
51-
- dev
50+
- master
51+
- dev
52+
53+
# Whenever a new release is created via GitHub, publish it on PyPI.
54+
deploy:
55+
provider: pypi
56+
user: wojcikstefan
57+
password:
58+
secure: ZShEfSeu1pUHPGWtO5JAERp3nkG1omFIDxz/N+qNEJGwIRxXH6S0E17p9jaRAwrBY11F6ecajOgz1E1ICovYf8IitOP8I/CyieF6EPV7Bv4PZyKJdWGzT/Edjrt+wAjY7Kwlr2Gkh9Tu1lChZcWvhyMVPYCgqyA2yP0W2b9kC4Y=
59+
on:
60+
tags: true
61+
distributions: sdist bdist_wheel
62+
repo: MongoEngine/flask-mongoengine

0 commit comments

Comments
 (0)