Fix Travis creds and release conditions

This commit is contained in:
Jannis Leidel 2016-11-04 11:54:17 +01:00
parent 8cd326f099
commit 08690d9db1

View file

@ -1,28 +1,26 @@
language: python
python:
- 2.7
- 3.5
- 2.7
- 3.5
env:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django --pre"
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django --pre"
install:
- pip install -q $DJANGO coveralls
- pip install -q $DJANGO coveralls
script:
- coverage run --source=axes runtests.py
- coverage report
- coverage run --source=axes runtests.py
- coverage report
after_success:
- coveralls
- coveralls
deploy:
provider: pypi
user: jazzband
distributions: "sdist bdist_wheel"
distributions: sdist bdist_wheel
password:
secure: VD+63Tnv0VYNfFQv9f1KZ0k79HSX8veNk4dTy42Hriteci50z5uSQdZMnqqD83xQJa4VF6N7DHkxHnBVOWLCqGQZeYqR/5BuDFNUewcr6O14dk31HvxMsWDaN1KW0Qwtus8ZrztwGhZtZ/92ODA6luHI4mCTzqX0gcG0/aKd75s=
secure: KR7AiS0+1WHkDLKV6eru4l1VOuO1DvVuYiRr4UWqFa9tjgN0ZH4itJkw/LSMRHof9fvg8ZWvPxsb3ifM2lXv7Nrk81fv97MO8XbLdVyF5xyvVEYOii0cu4ffxttj7BjL6aRDrpdG0OqayCsXYgkXngC7zdBrdLxKOq7CIbJ6oUo=
on:
tags: true
repo: jazzband/django-axes
condition: $DJANGO = "Django>=1.8,<1.9"
python: "2.7"