Skip to content

Commit

Permalink
Merge pull request #91 from azavea/feature/hmc/travis-ci-pypi
Browse files Browse the repository at this point in the history
Add PyPI publishing support to Travis CI
  • Loading branch information
hectcastro authored Nov 2, 2016
2 parents f9412d4 + 3be17fc commit 820796d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,41 @@
language: python

sudo: false

python:
- 2.7
- 3.5

env:
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10

matrix:
exclude:
- python: 3.5
env: DJANGO=1.6
- python: 3.5
env: DJANGO=1.7


install:
- pip install -q Django==$DJANGO
- pip install -r dev_requirements.txt
- python setup.py install

script:
- coverage run --source=djqscsv test_app/manage.py test djqscsv_tests
- flake8 --exclude=migrations djqscsv/ test_app/

after_success:
- coveralls

deploy:
provider: pypi
user: azavea
password:
secure: Wb3ow0qdnjFsdIoC2Lvke0Rp6h40WNDkp4Fuyltd0ex2MQMglNo1qHZYlhQvJ/5q7pHEAO7pIqOMzOQ1mls9Za1/AoolEl3zm9b3oW86bAR8AVS/UdCUkkCmPaO+0VsYCt63McaLFA0xQnWxA7kZUkfEeS7RBhT63f+diPqg2fU=
on:
tags: true
distributions: sdist bdist_wheel
repo: azavea/django-queryset-csv

0 comments on commit 820796d

Please sign in to comment.