language: "python"
dist: xenial

python:
    - "2.7"
    - "3.4"
    - "3.5"
    - "3.6"
    - "3.7"

script:
    - "pip install --upgrade coveralls flake8"
    - "flake8 ."
    - "coverage run -m unittest discover"

services:
    - "redis-server"

deploy:
  provider: "pypi"
  user: "honzajavorek"
  password:
    secure: "NLHLE9kVASnibrSDckdt1lmf8CfnKevmpCgAkrg2R+ajxlz3iNRfdKhSxJhExC+VMYryLBGOoeOrV+HwkZv2Lo3LlCstmh7y8k/AKp1v02xZvaOtD4w37eI23JwpNA/yXm/IZqy96cxHd4PdX6pul7xKoFRUj6Mc0PVWe+/izWg="
  on:
    python: "2.7"
    tags: true
    repo: "honzajavorek/redis-collections"
    distributions: "sdist bdist_wheel"

notifications:
  email: false

after_success:
    - "coveralls"

language: "python"
dist: xenial

python:
    - "3.4"
    - "3.5"
    - "3.6"
    - "3.7"

script:
    - "pip install --upgrade coveralls flake8"
    - "flake8 ."
    - "coverage run -m unittest discover"

services:
    - "redis-server"

deploy:
  provider: "pypi"
  user: "honzajavorek"
  password:
    secure: "NLHLE9kVASnibrSDckdt1lmf8CfnKevmpCgAkrg2R+ajxlz3iNRfdKhSxJhExC+VMYryLBGOoeOrV+HwkZv2Lo3LlCstmh7y8k/AKp1v02xZvaOtD4w37eI23JwpNA/yXm/IZqy96cxHd4PdX6pul7xKoFRUj6Mc0PVWe+/izWg="
  on:
    python: "3.6"
    tags: true
    repo: "honzajavorek/redis-collections"
    distributions: "sdist bdist_wheel"

notifications:
  email: false

after_success:
    - "coveralls"

Update Travis to test Python 3 only
Update Travis to test Python 3 only
