language: python

python:
  - 2.7
  - 3.5

env:
  - DJANGO="Django>=1.8,<1.9"
  - DJANGO="Django>=1.9,<1.10"
  - DJANGO="Django --pre"

install:
  - pip install -q $DJANGO coveralls
script:
  - coverage run --source=axes runtests.py
  - coverage report

after_success:
  - coveralls

deploy:
  provider: pypi
  user: jazzband
  distributions: "sdist bdist_wheel"
  password:
    secure: VD+63Tnv0VYNfFQv9f1KZ0k79HSX8veNk4dTy42Hriteci50z5uSQdZMnqqD83xQJa4VF6N7DHkxHnBVOWLCqGQZeYqR/5BuDFNUewcr6O14dk31HvxMsWDaN1KW0Qwtus8ZrztwGhZtZ/92ODA6luHI4mCTzqX0gcG0/aKd75s=
  on:
    tags: true

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

Fix Travis creds and release conditions
Fix Travis creds and release conditions
