Skip to content

Commit 820796d

Browse files
authored
Merge pull request #91 from azavea/feature/hmc/travis-ci-pypi
Add PyPI publishing support to Travis CI
2 parents f9412d4 + 3be17fc commit 820796d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.travis.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,41 @@
11
language: python
2+
3+
sudo: false
4+
25
python:
36
- 2.7
47
- 3.5
8+
59
env:
610
- DJANGO=1.8
711
- DJANGO=1.9
812
- DJANGO=1.10
13+
914
matrix:
1015
exclude:
1116
- python: 3.5
1217
env: DJANGO=1.6
1318
- python: 3.5
1419
env: DJANGO=1.7
1520

16-
1721
install:
1822
- pip install -q Django==$DJANGO
1923
- pip install -r dev_requirements.txt
2024
- python setup.py install
25+
2126
script:
2227
- coverage run --source=djqscsv test_app/manage.py test djqscsv_tests
2328
- flake8 --exclude=migrations djqscsv/ test_app/
29+
2430
after_success:
2531
- coveralls
32+
33+
deploy:
34+
provider: pypi
35+
user: azavea
36+
password:
37+
secure: Wb3ow0qdnjFsdIoC2Lvke0Rp6h40WNDkp4Fuyltd0ex2MQMglNo1qHZYlhQvJ/5q7pHEAO7pIqOMzOQ1mls9Za1/AoolEl3zm9b3oW86bAR8AVS/UdCUkkCmPaO+0VsYCt63McaLFA0xQnWxA7kZUkfEeS7RBhT63f+diPqg2fU=
38+
on:
39+
tags: true
40+
distributions: sdist bdist_wheel
41+
repo: azavea/django-queryset-csv

0 commit comments

Comments
 (0)