language: python
cache: pip
python:
  - "3.6"
  - "3.6-dev"
  - "nightly"

matrix:
  fast_finish: true
  allow_failures:
    python: "nightly"

before_install:
  - pip install ".[docs,test,aiohttp,treq]"
  - pip install -U pytest-cov sphinx
script:
  - pytest --cov=gidgethub
  # As of mypy 0.501, PEP 525 is not supported.
  #- mypy --ignore-missing-imports gidgethub
  - sphinx-build -nW -q -b html -b linkcheck -d docs/_build/doctrees docs docs/_build/html
after_success:
  - bash <(curl -s https://codecov.io/bash)


language: python
cache: pip
python:
  - "3.6"
  - "3.6-dev"
  - "nightly"

matrix:
  fast_finish: true
  allow_failures:
    python: "nightly"

before_install:
  - pip install ".[docs,test,aiohttp,treq]"
  - pip install -U pytest-cov sphinx
script:
  - pytest --cov=gidgethub
  # As of mypy 0.501, PEP 525 is not supported.
  #- mypy --ignore-missing-imports gidgethub
  - sphinx-build -nW -q -b html -b linkcheck -d docs/_build/doctrees docs docs/_build/html
after_success:
  - bash <(curl -s https://codecov.io/bash)

notifications:
  email:
    on_success: change # default: change
    on_failure: always # default: always

Cut down on the Travis emails
Cut down on the Travis emails