Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis PyPI deploy setup #1

Merged
merged 2 commits into from
May 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
37 changes: 21 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
language: python
sudo: false
python:
- "2.7"
- "3.5"
- '2.7'
- '3.5'
env:
- DJANGO="Django>=1.8.0,<1.9.0"
- DJANGO="Django>=1.9.0,<1.10.0"

# command to install dependencies
- DJANGO="Django>=1.8.0,<1.9.0"
- DJANGO="Django>=1.9.0,<1.10.0"
install:
- pip install -q $DJANGO
- pip install .
- pip install flake8
- pip install coveralls

# command to run tests
- pip install -q $DJANGO
- pip install .
- pip install flake8
- pip install coveralls
script:
- flake8 pagetimer runtests.py
- python runtests.py
- coverage run --source=pagetimer runtests.py
- flake8 pagetimer runtests.py
- python runtests.py
- coverage run --source=pagetimer runtests.py
notifications:
slack: ccnmtl:GizSNscLWJLldjQrffB8mwgm
after_success:
- coveralls
- coveralls
deploy:
provider: pypi
user: ctlpypi
password:
secure: DwFqbbi4LJ35wPH99vO/8gQJ8slERTC/+AGuj5oUV6zRuRAyg+8Dnc0Hu4MoILyZtWsIcZdn0uhHt6vSxI7qfdRO7qrP+bF3fI0PyXC8B0nFtrpBKDk5hk95oxmLAyG32fNkHwr4EUBChlQ/CO1TpamuJIHu0zhCfoOuvXFu5/t2FSsIF+k9bMbIufnb13xP0WizB2YujTLqngGIKx1JXwWVzIYIztDr64hotjtulxQ1woBJZdoJ7qZU7CJ07GZcZ/+gZWl/bif/rH9n67BB0AB7+2ZFRsbgA65eJSSH9sQ9PJZgBOAjT/jju/q+LFcrtblwQbM0DqvehnWt9mavjNpdLm2zdjtP8Syugv1p6XS1whoUCLcy0LlbgjXRZcquIRZvAI9YFwFTg1yjpWT3rYh54qwK1VDdPNdGJMNx/Eexr65ZnOpZDK3mUUDLGofAhUqJI8RtC5H3mVu5napz/IzQjWoVuNLa9R5CQtHRAyicLIzbKXFq7ThM0ObIu9K1HFdPMK6rBEbhDZhmbxDLkPCpJTu3T4Jz1L458iH5lfJGETaB1TkjdNd8RHMbWLRRgC2nXn7ezO683YHQFB0RyEho+KtIGv5fseRKNG13xSToj+SciQ0NTC5yWMgd/ueavku0QzIOYiOjaVImtD/AFXEu9N/OlJmv1R+IfGu8j0o=
on:
tags: true
distributions: sdist bdist_wheel
repo: ccnmtl/django-pagetimer
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ def main():
# Fire off the tests
call_command('test')


if __name__ == '__main__':
main()