Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit 0fe9ee3

Browse files
committed
Add travis autodeploy to PyPI
1 parent 17c6645 commit 0fe9ee3

1 file changed

Lines changed: 18 additions & 20 deletions

File tree

.travis.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
# Config file for automatic testing at travis-ci.org
21
sudo: false
3-
42
language: python
5-
63
python:
7-
- "3.6"
8-
- "3.5"
9-
- "3.4"
10-
- "2.7"
11-
- "pypy"
12-
4+
- '3.6'
5+
- '3.5'
6+
- '3.4'
7+
- '2.7'
8+
- pypy
139
env:
14-
# Lowest supported version
15-
- MARSHMALLOW_VERSION="==2.3.0"
16-
# Latest release
17-
- MARSHMALLOW_VERSION=""
18-
10+
- MARSHMALLOW_VERSION="==2.3.0"
11+
- MARSHMALLOW_VERSION=""
1912
install:
20-
- travis_retry pip install -U .
21-
- travis_retry pip install -U -r dev-requirements.txt
22-
- travis_retry pip install -U marshmallow"$MARSHMALLOW_VERSION" --pre
23-
13+
- travis_retry pip install -U .
14+
- travis_retry pip install -U -r dev-requirements.txt
15+
- travis_retry pip install -U marshmallow"$MARSHMALLOW_VERSION" --pre
2416
before_script:
25-
- flake8 .
26-
17+
- flake8 .
2718
script: py.test
19+
deploy:
20+
provider: pypi
21+
user: sloria
22+
password:
23+
secure: XRc9UtQUaE3klaDXhbmz42xYOBXIxybgCuZ4dLi0pnb5kWxMpx/dezKF5Mhky2ikOPn8QKuZnyAYyrxAJd5YgZcqJ3o92SLW5fVlWbRWx7FCv6yRCkB6KacaYreHz/p0yia0/mqB33MJKJLY/q00hy82eXYkfseTkRggOhvgiFXJVD4i+6IcAKpimyoGcrR4DxoixplKDUGdwWahSR82qL3ioYie0alclCbITIz/C8IwMPp3sSdOa9UdF8NW5VXCi0FdBC5R25XY0joDcY+sHNl21iKdAaOGVsHa51xdf59dDPTiAQcD8596Zt7g68dezwdsCe+OAXuId9OA3SiDPwGOBRy2GcIr72dmPOZWAfcMADNXHa5cqQTzZu2Gh9AOKFHj/O7f09ILOlRYkz4hnrndVXL5y5IGIgUUbfUi0nM8K33tsLagV4lfOUiuiiBx2PFCQ8j+1LXHY7vMb81uZVn25wdM46hcfNLckD1dEE19N9OuQPfISXzjy7JFiH4O12LjijhirHbuUbkM5CxKtEFVTgRNq/FySHA/zYwMdo8Jg0wlAwQJbsgnGkbsklqWbZOR5+4ZRj0a5liJ4jTJMMmah7ABwI5uhXDop1bRzxVxxSyqdbTWysVNPwQAMbPjGHEN7Y9R9L7/Gba8qhe4VDWSvFhB7emL4PcAv7ZpFU8=
24+
on:
25+
tags: true

0 commit comments

Comments
 (0)