language: python
sudo: false

branches:
  except:
    - /^feature/.*$/

python:
  - pypy
  - pypy3
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"

install: travis_retry .travis/install.sh

script: .travis/run.sh

notifications:
  irc:
    channels:
      - 'irc.freenode.org#webcore'
    use_notice: true
    skip_join: true

language: python
cache: pip

python:
  - "pypy3"
  - "3.4"
  - "3.5"
  - "3.6"

matrix:
  include:
    - python: "3.7"
      dist: xenial

install:
  - 'travis_retry pip install --upgrade setuptools pip pytest pytest-cov codecov "setuptools_scm>=1.9" cffi'
  - 'pip install -e ".[development]"'

script:
    pytest

after_success:
    bash <(curl -s https://codecov.io/bash)

notifications:
  irc:
    channels:
      - 'irc.freenode.org#webcore'
    use_notice: true
    skip_join: true
    on_success: change
    on_failure: always
    template:
      - "%{repository_slug}:%{branch}@%{commit} %{message}"
      - "Duration: %{duration} - Details: %{build_url}"

Remove Python 2 variants, add 3.6, speculatively 3.7.
Remove Python 2 variants, add 3.6, speculatively 3.7.
