sudo: false
language: python
python:
    - "3.3"
    - "3.4"
    - "3.5"
    - "3.6"
install: pip install tox-travis coveralls
script: tox
after_success: coveralls
branches:
  only:
    - develop
    - master
deploy:
  provider: pypi
  user: $PYPI_USER
  password: $PYPI_PASSWORD
  distributions: "sdist bdist_wheel"
  on:
    branch: master
    python: 3.6

sudo: false
language: python
python:
    - "3.3"
    - "3.4"
    - "3.5"
    - "3.6"
install: pip install tox-travis coveralls
script: tox
after_success: coveralls
branches:
  only:
    - develop
    - master
deploy:
  - provider: pypi
    user: $PYPI_USER
    password: $PYPI_PASSWORD
    distributions: "bdist_wheel"
    on:
      branch: master
      python: 3.3
  - provider: pypi
    user: $PYPI_USER
    password: $PYPI_PASSWORD
    distributions: "sdist bdist_wheel"
    on:
      branch: master
      python: 3.6

Add multiple python version deployment on pypi
Add multiple python version deployment on pypi
