Skip to content

Commit b76dc4e

Browse files
authored
Merge pull request #13 from ccnmtl/travis-pypi
travis PyPI deploy setup
2 parents 6139cb1 + 171391c commit b76dc4e

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

.travis.yml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
language: python
2-
sudo: False
2+
sudo: false
33
python:
4-
- "2.7"
5-
- "3.5"
4+
- '2.7'
5+
- '3.5'
66
env:
7-
- DJANGO="Django>=1.8.0,<1.9.0"
8-
- DJANGO="Django>=1.9.0,<1.10.0"
9-
- DJANGO="Django>=1.10,<1.11.0"
10-
- DJANGO="Django>=1.11,<1.12.0"
7+
- DJANGO="Django>=1.8.0,<1.9.0"
8+
- DJANGO="Django>=1.9.0,<1.10.0"
9+
- DJANGO="Django>=1.10,<1.11.0"
10+
- DJANGO="Django>=1.11,<1.12.0"
1111
install:
12-
- pip install .
13-
- pip install flake8
14-
- pip install coveralls
12+
- pip install .
13+
- pip install flake8
14+
- pip install coveralls
1515
script:
16-
- flake8 smoketest
17-
- python runtests.py
18-
- coverage run --source=smoketest runtests.py
16+
- flake8 smoketest
17+
- python runtests.py
18+
- coverage run --source=smoketest runtests.py
1919
after_success:
20-
- coveralls
20+
- coveralls
21+
deploy:
22+
provider: pypi
23+
user: ctlpypi
24+
password:
25+
secure: jjlFgnPwHhw1t7nPiR9i4/G8IZ7Wdijlo2oB4ezTD2rPO8xDuLSGDs/m+6L5PDQDu6/Y+sB+HeHcQsHU4NBchBsbdvIOCc/D1RzDU0shlhQPWj/wtzFTPJQsvIdNEpe9qZ3QSQsGlmiKDL/x/lwtpXAHdgufgTXeHf3Y5HoNdAE=
26+
on:
27+
tags: true
28+
distributions: sdist bdist_wheel
29+
repo: ccnmtl/django-smoketest

0 commit comments

Comments
 (0)