dist: "xenial"
language: "python"

python:
    - "3.5"
    - "3.6"
    - "3.7"
    - "3.8"
    - "pypy3.5"

install:
    - "pip install ."
    - "pip install -U coveralls flake8 sphinx sphinx_rtd_theme"
    - "if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install -U mypy; fi"

script:
    - "coverage run --include='more_itertools/*.py' --omit='more_itertools/tests/*' setup.py test"
    - "flake8 ."
    - "sphinx-build -W -b html docs docs/_build/html"
    - "if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then mypy more_itertools; fi"

notifications:
    - email: false

after_success:
    - "coveralls"

language: "python"

python:
    - "3.5"
    - "3.6"
    - "3.7"
    - "3.8"
    - "pypy3"

install:
    - "pip install ."
    - "pip install -U coveralls flake8 sphinx sphinx_rtd_theme"
    - "if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install -U mypy; fi"

script:
    - "coverage run --include='more_itertools/*.py' --omit='more_itertools/tests/*' setup.py test"
    - "flake8 ."
    - "sphinx-build -W -b html docs docs/_build/html"
    - "if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then mypy more_itertools; fi"

notifications:
    - email: false

after_success:
    - "coveralls"

Tidy up Travis configuration file
Tidy up Travis configuration file

Remove 'dist: "xenial"'. It is now the default and unnecesary.

Change to use pypy3 alias for testing against the latest PyPy3 release.
