language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.5-dev"
  - "nightly"

env:
  matrix:
    - IPYTHON="<5"
    - IPYTHON=""

matrix:
  allow_failures:
    - python: "3.5-dev"
    - python: "nightly"

install: "pip install ipython$IPYTHON pyflakes"

before_install:
  - pip install codecov pytest-cov
after_success:
  - codecov

script:
  - shopt -s extglob globstar
  - py.test --cov=./
  - pyflakes iterm2_tools/**/!(__init__).py setup.py

sudo: false

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"
  - "nightly"

env:
  matrix:
    - IPYTHON="<5"
    - IPYTHON=""

matrix:
  allow_failures:
    - python: "nightly"

install: "pip install ipython$IPYTHON pyflakes"

before_install:
  - pip install codecov pytest-cov
after_success:
  - codecov

script:
  - shopt -s extglob globstar
  - py.test --cov=./
  - pyflakes iterm2_tools/**/!(__init__).py setup.py

sudo: false

Add Python 3.6 testing to Travis, and remove 3.5-dev
Add Python 3.6 testing to Travis, and remove 3.5-dev
